btrfs: get the device in write mode when deleting it