gold inches down as dollar gains