Fixes OpenCV Bug #3200 resizeWindow() on Mac OS X

resizeWindow() can only be called if the window flag CV_WINDOW_AUTOSIZE is not set.