[PATCH 4.9 095/102] btrfs: Ensure replaced device doesnt have pending chunk allocation