fix CRC32 calculation for sysupgrade