[PATCH 6.5 051/739] irqchip/loongson-eiointc: Fix return value checking of eiointc_index