gold futures close higher for first time in six session