GM sees profit down on inventory woes, reaffirms '22 outlook