drivers/mtd/spi/eeprom_m95xxx.c: add missing error checking