[PATCH 6.1 07/25] irqchip/ls-extirq: Fix endianness detection