Test consistency of getAvailableLocales with ICU

- The locales comes ICU4C, and the returned values should be
consistent with ICU4J.
- Add the test before refactoring

Bug: 138994281
Test: CollatorTest
Test: LocaleTest
Change-Id: I0bcf0516392691e2798578fe92a8d84fb474191d
2 files changed