ART: Fix test dependencies

Ensure we only depend on (installed) target binaries, to avoid
building host dependencies when not necessary.

Use module names plus -host/-target to refer to the installed
files, simplifying the test Makefiles.

Test: art/tools/buildbot-build.sh --mode host
Test: art/tools/buildbot-build.sh --mode target
Change-Id: If6299487284af0b160c67408f9da421c69ca0e85
2 files changed