[zlib_bench] Use deflateBound() instead of compressBound() in zlib_bench

compressBound() is for use with compress() or compress2().

zlib_bench uses deflate() for compression, and so should use
deflateBound() with the corresponding parameters to estimate output
size.

Bug: 40638826
Change-Id: I5e0f436eca096817649370129a523d746643caf8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5666530
Commit-Queue: Hans Wennborg <hans@chromium.org>
Reviewed-by: Adenilson Cavalcanti <cavalcantii@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1321789}
NOKEYCHECK=True
GitOrigin-RevId: be5ed9d7fe193db79a6c292128b797ff93798b32
1 file changed