General Motors has recalled more than 500,000 Chevrolet Camaro cars, mostly in North America, after finding a fault with the ignition system.