[Linux-stable-mirror] [PATCH 4.9 68/86] usb: gadget: dont dereference g until after it has been null checked