[PATCH 6.12 009/422] btrfs: convert BUG_ON in btrfs_reloc_cow_block() to proper error handling