deps: fix zlib.gyp to upgrade v1.2.8

This adds new sources for gzip files and defines a new flag for mac and freebsd.
They are taken from third_party/zlib/zlib.gyp in Chromium repository.