[PATCH openEuler-22.03-LTS-SP1] btrfs: fix use-after-free after failure to create a snapshot