apex_available becomes more correct

Previously, Soong didn't follow the static dependencies when checking
apex_available. As a result, a module that is not available to an APEX
(or to the platform) was able to be statically linked from the APEX (or
the platform).

As the Soong bug is fixed, unchecked dependencies have revealed and this
change reflects the finding.

Bug: 147671264
Test: m
Change-Id: I6d9dbe31a8d46d26a4925462edd1984281bd203a
6 files changed