Improve SyntaxVisitor performance
Improve SyntaxVisitor performance

Refactor the implementation to match SyntaxRewriter, thereby gaining
the same performance benefits.

apple/swift-syntax,apple/swift-syntax,apple/swift-syntax