[PATCH 6.12 401/444] btrfs: fix log tree replay failure due to file with 0 links and extents