btrfs-progs: check: introduce repair_chunk_item()