Vitaliy Margolen : dinput: Fix possible NULL deference.