Move dex path and CLC validation to JNI. Bug: 298183834 Bug: 296034438 Test: atest CtsCompilationTestCases Test: atest ArtServiceTests Test: atest art_standalone_artd_tests Test: atest art_standalone_libartservice_tests Ignore-AOSP-First: ART Service. Change-Id: I7ed1a36392ea8ca6f583e4743baef043c9927ee5