dinput: Prevent a device interface leak when enumerating.