mtd: maps: sa1100-flash: potential NULL dereference