dinput: Improve the behavior of IDirectInput::Initialize.