md: use __register_blkdev to allocate devices on demand