Add stored class loader context option

Motivation: Enable having a different class loader context during
preopt vs the one stored in the oat file.

Added test.

Bug: 70934104
Bug: 67345922

Test: test-art-host

(cherry picked from commit f5abfc42f0d986b9f8eb782d7e761f1a08784210)

Merged-In: I6c0851370e0740e5f47faf25a5494022034f6fa4
Change-Id: I6c0851370e0740e5f47faf25a5494022034f6fa4
6 files changed