[1.7.x] Stop errors on older Spatialite versions that miss some tables