Cleanup handling of interrupt controller (PIC).