Build-tested on x86_64 Linux and on Darwin.
Close #12446.
This is needed by Chromium and is part of the zlib source tree in contrib/, so let's propagate the version of zlib and use the same source tree. Signed-off-by: aszlig <aszlig@redmoonstudios.org>