[PATCH 4.14 184/209] mtd: spi-nor: cast to u64 to avoid uint overflows