gold buying retreats as prices hit 5-month high