Json: Fix decodeUtf8 to handle 4-byte encodings.

All 4 byte encoded unicode characters were considered invalid
when validate_utf8 or skip_invalid_utf8 were enabled.