Gold was on track for its biggest gain in more than six months as dip-buyers supported prices above a key technical level while looking past flare-ups in the Strait of Hormuz that risked adding to energy-led inflation.