fsck: simplify fsck_commit_buffer() by using commit_list_count()