Added rollback emulation to spatialite backend; refs #22487.