Issue 10931 - etc.c.zlib is missing proper const annotations for parameters and uses C-style pointers

https://issues.dlang.org/show_bug.cgi?id=10931