[PATCH 6.6 211/530] pds_core: use correct index to mask irq