libsyntax: Make the parser mutable

r? @alexcrichton