btrfs-progs: check: introduce repair_tree_block_ref()