[PATCH 6.6 007/273] btrfs: convert BUG_ON in btrfs_reloc_cow_block() to proper error handling