[PATCH 6.2 0899/1001] mtd: spi-nor: Fix shift-out-of-bounds in spi_nor_set_erase_type