Gold was little changed as optimism over efforts to end the Middle East conflict eased bets on interest-rate hikes.