Use apex_available property

Use apex_available property to prevent modules that are only for the ART
apex from being used outside of the APEX.

This change also fixes the reference to
$(TARGET_OUT_SHARED_LIBRARIES)/$(lib).so to $(lib).com.android.art.debug
phony module since the former is never installed to the system partition
due to their 'apex_available' settings.

Bug: 128708192
Bug: 133140750
Test: m
Change-Id: I990e0a67e066d9b1dc221748422a2f44449258da
32 files changed