General Motors is recalling 778,562 Chevrolet Cobalt and Pontiac G5 compact cars - models it now longer makes - in North America to correct a condition that may allow the engine and other components, including airbags, to be unintentionally turned off.