[PATCH 6.6 24/93] mailbox: pcc: Refactor error handling in irq handler into separate function