Remove unnecessary dependencies between host and target modules.

With this change, modules introduced by LOCAL_REQUIRED_MODULES will be
split by host/target: target modules only depend on target modules and
host modules only depend on host modules.

Bug: 9303948
Change-Id: I4078a7983aa3c00e99534f3f170dfe4b66b12287
Merge "Remove unnecessary dependencies between host and target modules."
Merge https://android.googlesource.com/platform/build