usb: gadget: Avoid NULL pointer dereference during OS descriptors handling

With multi-config compositions some hosts can bind the configuration
incorrectly and sending os descriptor request on invalid interface.
This could cause accessing NULL pointer and results in panic.

Fix this by bailing out from the OS descriptor setup request handling
if the interface is NULL.

Change-Id: I65f01b876a46b907eb883e48878fc081860b0753
Signed-off-by: Chandana Kishori Chiluveru <cchiluve@codeaurora.org>
1 file changed