Upbeat US data may erode gold’s gains