[PATCH 3/6] dinput/tests: Fix occasional windows.gaming.input test crash.