Update GoTemplatesFactory.java

https://github.com/mtoader/google-go-lang-idea-plugin/issues/227