[PATCH MANUALSEL 5.4 1/4] x86/nmi: Make register_nmi_handler() more robust