Allow PROT_EXEC on the zygote mappings when falling back to ashmem am: 94e2fc9465 am: a09c5cf5e4

Original change: https://googleplex-android-review.googlesource.com/c/platform/art/+/16093381

Change-Id: I7911e0d3744021902bad197e35d0660160cf1355
diff --git a/runtime/jit/jit_memory_region.cc b/runtime/jit/jit_memory_region.cc
index b0699c4..56407f5 100644
--- a/runtime/jit/jit_memory_region.cc
+++ b/runtime/jit/jit_memory_region.cc
@@ -556,7 +556,7 @@
       return false;
     }
   } else {
-    palette_status_t status = PaletteAshmemSetProtRegion(fd, PROT_READ);
+    palette_status_t status = PaletteAshmemSetProtRegion(fd, PROT_READ | PROT_EXEC);
     if (status != PALETTE_STATUS_OK) {
       CHECK_EQ(status, PALETTE_STATUS_CHECK_ERRNO);
       std::ostringstream oss;