[PATCH 4.4 97/99] Btrfs: fix use-after-free when using the tree modification log