gzip: fix problem with s390 buffer flushes