Jaguar Land Rover posted a quarterly loss as higher incentives in China and Europe's diesel slump hit earnings.