gold futures end at a three-session high