mtd: partitions: remove kmemdup()