[PATCH 6.1 128/600] irqchip/loongson-eiointc: Fix return value checking of eiointc_index