fix RT#96877 ...
but this breakx some previous tests which made incorrect assumptions about utf8 in statements :-(
moved utf8::upgrade in dbdimp.c for performance

- and uprade occurs only if imp_dbh->unicode is true so that we can minimize impact on existing applications
Merge branch 'rt_96877_unicode_statements'