optimized cv::norm with NORM_INF