Gold Prices Trim Gains as Dollar Rebounds