[OSX] Remove unused function Cocoa_GetAppVersion()

When cleaning out the CFStringGetCString references I noticed that
this function isn't used anywhere. So instead of changing it, I rather
just remove it.