compiletest: Remove superfluous to_string calls
auto merge of #15173 : Sawyer47/rust/de-to-string, r=alexcrichton