vold: Make sure block device exists before formatting it

* This fixes race condition where dm-1 doesn't exist
  when doFormat() is being executed on some devices
  while formatting them to use with adopted storage.

Change-Id: I1297025900a988141717b81b9d0fcca7197955bd
3 files changed