checksum calculation: Update crc only once per line

Signed-off-by: Oliver Metz <oliver@freetz.org>