integrity-checker: Fix checksum calculation after randomizing chunk_hash()