Gold settles higher for first time in three sessions