[PATCH 4.19 300/321] mtd: spi-nor: cast to u64 to avoid uint overflows