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