[PATCH 5.4 084/328] btrfs: convert BUG_ON in btrfs_reloc_cow_block() to proper error handling