Gold futures end higher on Thursday to score their biggest daily gain of the month so far and the highest finish in six weeks.