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