syntax/rustc: Eliminate some bad copies

r=pcwalton