drivers/usb/gadget: add in missing ifdef statements for perflock