Fix GtsEdiHostTestCases&CtsEdiHostTestCases pre-S

SharedLibraryInfo.isNative() is available from S. Skip the part of the
tests that require the usage of the method pre-S, specifically the part
that collects the names of non-native shared libraries.

Bug: 192425432
Bug: 190547956
Test: atest GtsEdiHostTestCases CtsEdiHostTestCases pass on Android 9
and 11

Change-Id: I095a869fe5e06bf4df7e41dc1965b79ae84e0b12
4 files changed