cocoa_common: vo_corevideo: fix window initialization

vo_corevideo doesn't create a hidden window to perform OpenGL extensions
detection. This caused the window to always stay close.