fix: Allow passing pgoprofile via the command line (#4580)

<!-- Thanks for sending a PR! Before submitting:

1. If this is your first PR, please read CONTRIBUTING.md and sign the
CLA
   first. We cannot review code without a signed CLA.
2. Please file an issue *first*. All features and most bug fixes should
have
an associated issue with a design discussed and decided upon. Small bug
   fixes and documentation improvements don't need issues.
3. New features and bug fixes must have tests. Documentation may need to
be updated. If you're unsure what to update, send the PR, and we'll
discuss
   in review.
4. Note that PRs updating dependencies and new Go versions are not
accepted.
   Please file an issue instead.
-->

**What type of PR is this?**

Bug fix

**What does this PR do? Why is it needed?**
Currently pgoprofile can be only set via BUILD files.
'--@io_bazel_rules_go//go/config:pgoprofile' will fail.

**Which issues(s) does this PR fix?**
Allow passing --@io_bazel_rules_go//go/config:pgoprofile thourgh command
line

Fixes #4226

**Other notes for review**

Co-authored-by: zhanning.lu <zhanning.lu@bytedance.com>
1 file changed