libwinpr-library: port GetModuleFileName to Mac OS X