ART: Cache resolved types in InstructionBuilder.

And avoid using the CompilerDriver for class resolution
and retrieving CompilerOptions.

Test: m test-art-host-gtest
Test: testrunner.py --host --optimizing
Change-Id: Icec3de58456cfeaf3f2be6e57e037fdf45e8b851
2 files changed