lib/zlib: fix inflating zlib streams on s390