[ARM] ecard: add helper function for setting ecard irq ops