x86: signal: move macros out from restore_sigcontext()