lib: crc32: optimize inner loop