Gold gains on lower U.S. yields even as dollar holds firm