Fix CRC calculation after adding squashfs support