Add helpers to allocate JIT memory in zygote.

These helpers will seal the fd and prevent any new writable
mappings from being made.

Using memfd when available, and falling back to ashmem if not.
ashmem being scheduled for removal, have that implemented in palette.

Bug: 119800099
Test: jit_memory_region_test.cc
Change-Id: Id32b6c52a2ec681295ea7eca5b77ab342c78b469
10 files changed