Gold edges lower as dollar holds firm