[PATCH 5.4 277/403] btrfs: fix log tree replay failure due to file with 0 links and extents