[PATCH 4.20 01/50] mtd: Make sure mtd->erasesize is valid even if the partition is of size 0