test_ogrsf: remove useless RollbackTransaction() calls in error code paths; and fix/workaround to make test_ogrsf work on multi-tables sqlite and gpkg databases

git-svn-id: https://svn.osgeo.org/gdal/trunk@27323 f0d54148-0727-0410-94bb-9a71ac55c965
GPKG: make SELECT expressions passed to ExecuteSQL() be evaluated by SQLite

git-svn-id: https://svn.osgeo.org/gdal/trunk@27324 f0d54148-0727-0410-94bb-9a71ac55c965
Merge branch 'trunk' into trunk_android