Gold was on track for its biggest weekly loss since June 1 on Friday, driven by a surge in oil prices and expectations of higher US interest rates.