[spatialite] Fix compile error