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
9 files changed