main/zlib: fix crc32 on 64-bit systems

Merged julianladisch requested to merge julianladisch/aports:3.12-zlib-crc32 into 3.12-stable

thanks to for pointing this out

upstream patch:

upstream bug report:

alpine bug report: #13711 (closed)

fixes " invalid entry CRC" in Java JRE/JDK on 64-bit systems

this backports the fix from master to 3.12-stable

(cherry picked from commit 6754a900)

Merge request reports