Minor bugfix in main.c so that the library builds with SQLITE_OMIT_WSD defined.
Fix a potential over-size and hence undefined shift operation.
Fix harmless compiler warnings in the showdb utility program.
Make sure that sqlite3SelectDup() initializes the nSelectRow of the
duplicate Select object.