fs/partitions/ldm.c: fix oops caused by corrupted partition table