Gold edged higher on Wednesday, extending gains for a fifth straight session, as optimism around the U.S.-Iran peace deal eased concerns over interest rate hikes, while investors awaited further details on the deal and the Federal Reserve's policy meeting.