[PATCH v3] usb: dwc2: Fix endpoint direction check in ep_from_windex