[PATCH 5.10 048/317] irqchip/loongson-pch-msi: Fix off-by-one on allocation error path