usb: udc-core: set gadget state as not attached after unloading module