Gold futures end lower on Thursday, with the precious metal giving back all of the gains from a day earlier on the back of strength in the U.S. stock market, but still trading higher on the week so far.