[PATCH 4.18 321/350] btrfs: fix error handling in btrfs_dev_replace_start