Skip SQLite tests if Spatialite fails to load

With this change the OSM Spatialite tests will be marked as 'Skipped' instead of 'Error' when spatialite fails to load.