Special case boot dex files in FixedUpDexFile::Create.

Doing a raw copy doesn't work on boot classpath dex files as
they contain hidden API flags. So instead run dexlayout on them,
which as a side effect will remove the hidden API information.

Bug: 123474797
Test: CtsJvmtiRunTest983HostTestCases
Change-Id: I327662ad96fc8bce1cf68ce26980b9a1887760e6
3 files changed