[PATCH 5.17 001/158] usb: gadget: fix race when gadget driver register via ioctl