Make BaseDexClassLoaderTest independent of its parent class loader

Update the test to use a well known class loader chain which does not rely
on its running context.

Use the system class loader instead of the actual test class loader as the
parent in the test.

Bug: 38138251
Test: cts-tradefed run cts -m CtsLibcoreTestCases -t
libcore.dalvik.system.BaseDexClassLoaderTest

Change-Id: I28aa98914e31e692ba93c259610670948d0e8432
1 file changed