fix for cv::Mat::convertTo with scale