gold close higher for first time in three sessions