[PATCH 4.19 191/211] Btrfs: fix use-after-free when using the tree modification log