verify-checksums.sh: crop checksum more aggressively

The previous scheme did not handle CR/LF line endings properly.