gold prices turn lower after hitting 5-month highs