[PATCH 5.15 067/402] irqchip/loongson-pch-msi: Fix off-by-one on allocation error path