Fixed OS X compilation error in window_cocoa.mm

Un-commented `NSApplicationActivationPolicyRegular` argument (in leu of zero) and got rid of problematic dereference
Merge pull request #3409 from fish2000:patch-1