[PATCH 5.10 314/459] btrfs: ref-verify: fix use-after-free after invalid ref action