[PATCH 5.10 346/523] btrfs: fix log tree replay failure due to file with 0 links and extents