fix numThreadsMax for OpenMP
fix numThreadsMax for OpenMP

introduced by commit 4e629000095779ae8f544ddd4de77633680a3db9

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