[Go] Adjust generated code to work with upcoming Go 1.4 release.