[PATCH 5.10 272/290] x86/entry: Move nmi entry/exit into common code