[PATCH 6.16 527/570] btrfs: fix log tree replay failure due to file with 0 links and extents