[art] Compile secondary dex files in isolation

The class loader context adds the overhead of extracting in-memory and
possibly extra verification which is being frowned upon when the loading
happens on the UI thread. Revert the correct fix of compiling secondary
dex files with their context until b/64530081 is done.

Partial revert of commit 659a7dccd73c6b67e2d8bf56c84c09cbe69215c1.

Test: m test-art-host
Bug: 64530081
Bug: 66984396
Change-Id: I3f95a5eaa788aa5de3f7303f0c3720c72eed4526
1 file changed