message: Explicitly convert depset to list for Bazel compatibility
  With this change, this command succeeds:
  bazel build //tensorflow/core/debug:all --incompatible_depset_is_not_iterable --nobuild
  The flag `incompatible_depset_is_not_iterable` will soon be
  enabled in Bazel by default.
diff: @@ -1710,7 +1710,7 @@ def _check_deps_impl(ctx):
  for input_dep in ctx.attr.deps:
  if not hasattr(input_dep, "tf_collected_deps"):
  continue
  - for dep in input_dep.tf_collected_deps:
  + for dep in input_dep.tf_collected_deps.to_list():
  for disallowed_dep in disallowed_deps:
  if dep == disallowed_dep.label:
  fail(
  