Windows: Fix a crash when HID transfers return no data

* Issue reported by Surmakyynis
* Closes #160