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