[PATCH] dinput/tests: Remove some redundant NULL pointer checks (Coverity).