gold futures close up, recover prior session's loss