ART: introduce PALette abstraction layer

This change decouples direct dependencies on system libraries.

Bug: 122824298
Test: art/test.py --host --64
Test: art/test.py --target -j8
Test: m -j100 & flashall -w & device boots
Test: art/build/apex/runtests.sh
Change-Id: Iae927ed9aaa228a941cd444cef04e6ec53955299
32 files changed