The sqlite3Stat4ProbeSetValue() routine should always return results using
the database encoding.
Fix a bug in the command-line shell for ".mode insert" on UTF16 databases
with BLOB values.
Add tests to improve coverage when SQLITE_ENABLE_STAT3 is defined.
Rearrange the order of conditions in an "if" statement to facilitate testing.