Gold retreats from one-year high as dollar gains ground