gold retreats from one-year high as dollar gains ground