[PATCH v16 10/50] xhci: add helper to stop endpoint and wait for completion