Yahoo, Facebook said to be in talks to settle patents dispute