osx: move APP_VERSION declaration from common to OSX Makefile

Since APP_VERSION is for now OSX only, this patch moves it to the OSX Makefile.