[PATCH 5.10 233/306] usb: chipidea: host: fix port index underflow and UBSAN complains