[PATCH 5.4 176/309] Btrfs: fix race between adding and putting tree mod seq elements and nodes