[PATCH v2] usb: xhci: Check endpoint is valid before dereferencing it