win32: detect joypad changes
Merge pull request #505 from OV2/w32joyhotplug

win32: detect joypad changes
Only destroy dinput if non-NULL.