[PATCH 06/10] x86/entry: Move nmi entry/exit into common code