Earnings fell sharply at General Motors due to “headwinds” in Europe. But GM’s profit easily topped forecasts and the stock rose in early trading on the news