[PATCH v2 3/6] dinput/tests: Fix occasional GameInput test crash.