[PATCH 5.10 433/462] usb: gadget: Set self-powered based on MaxPower and bmAttributes