hash: explicit casts for truncation in CRC32c