dinput: Use an internal refcount on all dinput devices.