Fix a potential UBSAN error.
Fix a potential UBSAN error.

We only use that value as uint64_t below anyway.

opencv/opencv,opencv/opencv,opencv/opencv,opencv/opencv,opencv/opencv,opencv/opencv,opencv/opencv,opencv/opencv,opencv/opencv,opencv/opencv