[zlib] Re-sync with zlib 1.2.12, patch 15 of N

The last two changes came from the 'develop' branch of canonical
zlib and should address some issues on 1.2.12 that are going to
be featured on the upcoming 1.2.12.x.

With this patch landing, Chromium's zlib will be 1.2.12 + fixes
(plus our optimizations).

Ported:
 - Eliminate use of ULL constants.
 - Fix crc32.c to compile local functions only if used.
 - zlib 1.2.12
 - Silence some warnings from Visual Studio C.
 - Correct incorrect inputs provided to the CRC functions.

Bug: 1032721
Change-Id: I3903ae4de5f42427fae1cca8052ad300f5a07b30
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3611239
Commit-Queue: Adenilson Cavalcanti <cavalcantii@chromium.org>
Reviewed-by: Chris Blume <cblume@chromium.org>
Reviewed-by: Noel Gordon <noel@chromium.org>
Cr-Commit-Position: refs/heads/main@{#997532}
NOKEYCHECK=True
GitOrigin-RevId: 9eb3d1c886a4dd302304241e74a75127e2069d17
17 files changed