[PATCH 6.8 207/493] irqchip/loongson-pch-msi: Fix off-by-one on allocation error path