gold futures settle higher for first time in four sessions