[PATCH 5.15 138/691] block: fix potential invalid pointer dereference in blk_add_partition