Gold wavered as traders assessed the Federal Reserve’s interest-rate path and the status of negotiations to end the war in Iran.