GM shutting down production at most of its plants in North America