Make CtsApexSharedLibrariesTestCases failures more actionable

... by

(1) failing early when some unwanted libraries are already loaded in the
test process (see b/315733044)

(2) logging more information to see which apex a failed dlopen attempt
was made.

Bug: N/A
Test: atest CtsApexSharedLibrariesTestCases and see the logcat log.
Also, change libcrypto.so with libc.so to see if the test fails as
expected.

Change-Id: Ib0cdbbd7ffeaf5a31f691a1c58331c8d036eabfb
1 file changed