fix reversed memset arguments in iterate_checksums
Merge remote-tracking branch 'maksqwe/util_fix'