libsyntax: Remove uses of `~str` from libsyntax, and fix fallout

r? @brson