[PATCH 7/9] block, badblocks, pmem: introduce devm_alloc_badblocks