[PATCH 3.16 28/72] Btrfs: fix use-after-free when using the tree modification log