F4 USB HID and CDC: fixed interface deinit to reset device state

Fixes a very nasty bug which renders usb unusable after replugging