gold prices turn higher as the u.s. dollar weakens