Use VisitDirectDepsProxy in aconfigUpdateAndroidBuildActions,
GatherPackagingSpecsWithFilter and checkClasspathFragments.

Bug: 377723687
Test: Check the ninja and mk files.
Change-Id: I620cb94a7304cf117142e5e88d8c2a16101dd9d6
diff --git a/android/base_module_context.go b/android/base_module_context.go
index 719d6d5..ab28676 100644
--- a/android/base_module_context.go
+++ b/android/base_module_context.go
@@ -266,7 +266,7 @@
 	return b.bp.OtherModuleDir(getWrappedModule(m))
 }
 func (b *baseModuleContext) OtherModuleErrorf(m blueprint.Module, fmt string, args ...interface{}) {
-	b.bp.OtherModuleErrorf(m, fmt, args...)
+	b.bp.OtherModuleErrorf(getWrappedModule(m), fmt, args...)
 }
 func (b *baseModuleContext) OtherModuleDependencyTag(m blueprint.Module) blueprint.DependencyTag {
 	return b.bp.OtherModuleDependencyTag(getWrappedModule(m))