Stop passing owned strings to fail!().

The ~"string" expression is being removed in upstream rust.
auto merge of #2297 : Ms2ger/servo/fail-owned-str, r=jdm

The ~"string" expression is being removed in upstream rust.