G.M.’s profits fell 3% in the first quarter as chip shortages limited production.