[Win] Avoid NRE in WinFactory.Dispose()

WinFactory.Dispose() could crash with a NRE when the joystick driver has
not been initialized. Fixed by checking for null before disposing the
input driver.
Merge pull request #182 from thefiddler/win_inputcrash_fix

[Win] Avoid NRE in WinFactory.Dispose()