sqlite plugin - disable shared cache for sqlite prior to 3.7.15

Fixes https://github.com/mapnik/mapnik/issues/2483.

I have made it as runtime condition. One can compile with newer version and run with older version.

Should be also backported to 2.3.x.