Detect native bridge via system properties in NativeAllocationRegisteryTest

The uname-based detection for native bridge translation in
NativeAllocationRegisteryTest was brittle and needed to be updated for
each native bridge architecture. Using system properties is more robust
and does not require manual updating for new architectures, such as
RISC-V.

Test: cts-tradefed run cts -m CtsLibcoreTestCases \
-t libcore.libcore.util.NativeAllocationRegistryTest
(with and without native bridge)
Bug: 277619571

Change-Id: I14b972afe0bcb5e80ef8af8244fce9165565414a
1 file changed