[PATCH 6.12 331/626] irqchip/riscv-imsic: Separate next and previous pointers in IMSIC vector