Properly recover after an invalid UTF-8 character.

bValid was never properly set to TRUE after an invalid character,
which was no problem before because UTF-8 parsing was aborted. However,
if parsing is to simply skip invalid characters, this case needs to be
handled properly.