MdeModulePkg/Core: fix feature conflict between NX and NULL detection