[PATCH v17 07/51] xhci: add helper that checks for unhandled events on a event ring