[spatialite] Implement rewind()