[PATCH 5.10 485/545] serial: 8250_pci: Refactor the loop in pci_ite887x_init()