Gold held a gain as Treasury yields retreated ahead of the release of a report Wednesday that is expected to show U.S. inflation remained elevated.