MdeModulePkg/Core: fix feature conflict between NX and heap guard