Update cocoa_common.m

Added NSOpenGLPFAAllowOfflineRenderers to allow mpv to use multiple GPUs.
Adapted from: https://developer.apple.com/library/mac/technotes/tn2229/_index.html#//apple_ref/doc/uid/DTS40008924-CH1-SUBSECTION5