Make bzl files compatible with mutating behavior of += on lists (#855)
Make bzl files compatible with mutating behavior of += on lists (#855)

* Make bzl files compatible with mutating behavior of += on lists

* Replace [:] with list() for copying a list

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