x86: unify show_interrupts() and proc helpers