[Bazel CI] Bazel build error: Target '//tensorflow/tools/pip_package:build_pip_package' contains an error with Bazel@HEAD

/cc [@learning-to-play](https://github.com/learning-to-play),  [@vam-google](https://github.com/vam-google), [@chsigg](https://github.com/chsigg)
CI: https://buildkite.com/bazel/bazel-at-head-plus-disabled/builds/2004#018eb729-e4a7-46e0-b68c-4b90fcac20cc

 Platform: Ubuntu

 Logs: 
```
ERROR: [0m/var/lib/buildkite-agent/builds/bk-docker-f8l9/bazel-org-repo-root/tensorflow/tensorflow/python/BUILD:465:27: //tensorflow/python:_pywrap_tfcompile.so: no such attribute 'licenses' in 'cc_shared_library' rule
ERROR: [0m/var/lib/buildkite-agent/builds/bk-docker-f8l9/bazel-org-repo-root/tensorflow/tensorflow/python/BUILD:513:27: //tensorflow/python:_pywrap_py_exception_registry.so: no such attribute 'licenses' in 'cc_shared_library' rule
ERROR: [0m/var/lib/buildkite-agent/builds/bk-docker-f8l9/bazel-org-repo-root/tensorflow/tensorflow/python/BUILD:1189:27: //tensorflow/python:_pywrap_tfe.so: no such attribute 'licenses' in 'cc_shared_library' rule
ERROR: [0m/var/lib/buildkite-agent/builds/bk-docker-f8l9/bazel-org-repo-root/tensorflow/tensorflow/tools/pip_package/BUILD:255:10: Target '//tensorflow/python:distributed_framework_test_lib' contains an error and its package is in error and referenced by '//tensorflow/tools/pip_package:build_pip_package'
ERROR: [0mAnalysis of target '//tensorflow/tools/pip_package:build_pip_package' failed; build aborted: Analysis failed
``` 
 Culprit: 

 Steps:
  ``` 
 git clone https://github.com/tensorflow/tensorflow
git reset f12154def538a7093598c870be9dbb374b86bbe3  --hard
export USE_BAZEL_VERSION=3f9d80c35d88a280c2d53682f3d201b4733a3fff
bazel build //tensorflow/tools/pip_package:build_pip_package 
 ``` 
 CC Greenteam @meteorcloudy
 