[PATCH 6.12 072/132] can: sja1000: fix max irq loop handling