Fixed #12933: added cast to silence clang -Wcomma warning
Fixed #12933: added cast to silence clang -Wcomma warning

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