[PATCH 6.12 036/132] mailbox: pcc: Refactor error handling in irq handler into separate function