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.
Merge latest fixes from the trunk.