Handle targets provided in deps as a result of GoSource.resolver (#4063) **What type of PR is this?** Starlark fixup **What does this PR do? Why is it needed?** Make the migration process a little smoother **Which issues(s) does this PR fix?** https://github.com/bazelbuild/rules_go/pull/4030#issuecomment-2310491357 **Other notes for review**