General Motors sees Q4 loss on China costs but exceeds expectations