Support system server ART-profiling

We don't have to map the code cache as executable if we only want to save
profiles. This enables system server profiling without disabling SElinux
to bypass the jit code cache exec-mapping.

Test: m test-art-host
      boot a device with system server profiling enabled.
Bug: 73313191

Change-Id: I7f25a905e0b23456183e39e58ad8f4b829ddf0c5
6 files changed