sparc64: use helper_wrpil to check pending irq on write