Add loongarch64 support (#4610)

What type of PR is this?

Bug fix

What does this PR do? Why is it needed?

It matches GOARCH loong64 to something so that rules_go would work on
LoongArch.

Which issues(s) does this PR fix?

https://github.com/bazel-contrib/rules_go/issues/4609
7 files changed