gold logs three-session win with oil at record high