Gold settles higher for a third session