libspatialite: disable postgis option

Closes #20373.