Gold marks 1-month high as dollar retreats