Windows: Fixed crash if quitting without closing an XInput haptic device.

--HG--
extra : histedit_source : ddde0349ad87c7b525efb7e0b01ee45fef9170af