zlib: move, rename, document internal `params()` cb
Give the callback a more specific name, explain what it does and why it is necessary, and move it to a location much closer to its use site.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
commit message follows commit guidelines