Restore resultstore upload to bazel build
Restore resultstore upload to bazel build

This works even if RBE is disabled and gives us a structured log output, which is nice

Closes https://github.com/google/iree/pull/887

COPYBARA_INTEGRATE_REVIEW=https://github.com/google/iree/pull/887 from GMNGeoffrey:resultstore 40aa819394a5f72e8db93842ad58e83a81428dcf
PiperOrigin-RevId: 297919844

google/iree,iree-org/iree,google/iree,iree-org/iree,iree-org/iree,google/iree,google/iree,google/iree,iree-org/iree,iree-org/iree,iree-org/iree,google/iree,google/iree,iree-org/iree