[PATCH 6.6 088/538] block: fix potential invalid pointer dereference in blk_add_partition