Remove unnecessary dependencies in build

- core-oj is not used anymore to build layoutlib
- remove Java classes that are not used by the platform

Bug: 117920228
Test: layoutlib tests
Change-Id: I90b9cfb85276e8e10a13e964bfc464559d1150c3
Merged-In: I90b9cfb85276e8e10a13e964bfc464559d1150c3
(cherry picked from commit ea00461213ad669f59655f4379d2e712ca06be68)
9 files changed