x86: Move some signal-handling definitions to a common header