Refactor libsyntax Visitor impls to use default methods.

I'm getting the three `make check` failures mentioned in issue #9127, which I also get building master.