[PATCH 5.4 203/321] btrfs: ref-verify: fix use-after-free after invalid ref action