md: fix md_write_start() deadlock w/o metadata devices