Gold futures snapped 10 days of straight losses to end higher on Thursday, as the dollar weakened against some major currencies with bargain hunters swooping in after the precious metal’s the longest losing streak in two decades.