[PATCH 6.6 463/676] btrfs: do not BUG_ON() when freeing tree block after error