[PATCH 3/4] dinput: Check cbTypeSpecificParams before lpvTypeSpecificParams.