modules: zlib: add compatibility with u8vector-compress