CVE-2024-50277 dm: fix a crash if blk_alloc_disk fails