Gold futures snapped a four-day loss to end higher on Thursday, as the dollar trended lower against a basket major currencies, coupled with the financial uncertainties in Greece and some soft data showing initial claims for unemployment benefits in the U.S. rose more than expected last week.