[spatialite] Add proper support for NULL values