Fix for OS X compilation error in window_cocoa.mm

Un-commented `NSApplicationActivationPolicyRegular` argument (in leu of zero) and got rid of problematic dereference – OpenCV compiles again on OS X as of this change