gold heads for biggest weekly loss since may