[PATCH 4.9 085/116] Btrfs: fix race between adding and putting tree mod seq elements and nodes