Gold was little changed, after the US dollar slipped and traders weighed attempts to contain an oil-supply shock arising from the war in the Middle East.