Don't crash on invalid utf-8 in the HTML parser.

This was regressed by the html5ever landing.