hash: fix strict-aliasing for CRC