[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.
Merge pull request #2083 from tru/remove_cocoa_get_app

[OSX] Remove unused function Cocoa_GetAppVersion()