DETROIT — General Motors has spent the past year playing catch-up on production, hamstrung by the 40-day UAW strike last fall and the industry's two-month coronavirus shutdown in the spring. But tight inventories have come with silver linings: high dealer margins as customers pay closer to sticker price, reduced carrying costs and a record profit in North America for GM last quarter.