checksum: Changed interface of lr_checksum_fd_cmp