[spatialite] Use QVariant::LongLong as int type consistently