Avoid use of run_shell in bazel rule. (#2488)
Avoid use of run_shell in bazel rule. (#2488)

run_shell requires bash which is not available on Windows
without a msys installation.

The shell was only used for "&&" anyway. We can just use
two separate actions.

-trimpath requires an absolute path. On Windows we build
a batch file to expand %cd%. On Unixes we can keep using
run_shell.

bazelbuild/rules_go,bazelbuild/rules_go,bazelbuild/rules_go,bazelbuild/rules_go,bazelbuild/rules_go