mtd: mtdpart: use uint64_t instead of int for cur_off