btrfs: drop the lock on error in btrfs_dev_replace_cancel