Limit `test_for` to ART tests that explicitly link internal libraries.

`test_for` bypasses the stubs when tests are built against the shared
libs, so it should only be used for tests that intentionally link
dynamically to the ART implementation interfaces.

Test: mmm art/
Test: gtests in ART chroot
Test: art/libnativebridge/tests/runtests.sh
Bug: 247108425
Change-Id: I207000d5c9731209aa497e284bbc5106f8ab65d8
2 files changed