REC: fix runtime compatibility for Windows

git-svn-id: https://svn.osgeo.org/gdal/trunk@26243 f0d54148-0727-0410-94bb-9a71ac55c965
Fix failures on mingw travis

git-svn-id: https://svn.osgeo.org/gdal/trunk@26244 f0d54148-0727-0410-94bb-9a71ac55c965
SQLite: attempt to make VirtualOGR (and thus sqlite dialect) work even with a libsqlite3 compiled with SQLITE_OMIT_LOAD_EXTENSION (on Unix only)

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