kernel: fix mtd partition erase < parent_erasesize writes