[PATCH 5.11 696/775] mtd: spi-nor: core: Add erase size check for erase command initialization