Gold prices retreated from a near three-month high on Thursday as the dollar ticked up, while focus remained on U.S.