[PATCH 6.5 200/491] pds_core: use correct index to mask irq