cocoa: consolidate cocoa_common as cocoa/adapter

This moves vo_cocoa_{glgetaddr,cgl_context,cgl_pixel_format} back into
cocoa_common.m; these functions are wanted as part of a more general
OpenGL backend, whereas the adapter functions are specific to gl_cocoa.