[PATCH 4.14 125/173] Btrfs: fix race between adding and putting tree mod seq elements and nodes