tests: protection: Enable the complete test suit for qemu_x86.

Using the PAE page tables it is possible to disable code execution
form RAM.

JIRA:ZEP-2511

Signed-off-by: Adithya Baglody <adithya.nagaraj.baglody@intel.com>
diff --git a/tests/kernel/mem_protect/protection/src/main.c b/tests/kernel/mem_protect/protection/src/main.c
index 7176c71..cf173c4 100644
--- a/tests/kernel/mem_protect/protection/src/main.c
+++ b/tests/kernel/mem_protect/protection/src/main.c
@@ -51,7 +51,11 @@
 #if defined(CONFIG_ARM)
 #define NO_EXECUTE_SUPPORT 1
 #elif defined(CONFIG_X86)
-/* i386 MMU doesn't control execute capabilities, only on x86_64 */
+#if defined(CONFIG_X86_PAE_MODE)
+#define NO_EXECUTE_SUPPORT 1
+#else
+/* 32-bit paging mode in x86 doesn't support execute disable capability.*/
+#endif	/* x86 */
 #else
 #error "Architecture not supported"
 #endif