usb: otg: move the dereference below the NULL test