MFV 7b495a2a7abf (zlib): Correct incorrect inputs provided to the CRC
functions.
MFC after: 3 days
(cherry picked from commit c61bc1110c90cb67a60cb08c4f3bc24f75d0b385)
(cherry picked from commit 6b0e0c9e9534149d932fc8b71d1d21a09fe31ffc)
Approved by: re (gjb)