[PATCH 6.12 471/626] irqchip/riscv-aplic: Add support for hart indexes