lib: crc32 backport from 2.6.33