x86: nmi_32/64.c - add helper functions to hide arch specific data