use projectVersion from DynFlags rather than cProjectVersion for versionedAppDir
use projectVersion from DynFlags rather than cProjectVersion for versionedAppDir

Reviewed By: edsko, austin

Differential Revision: https://phabricator.haskell.org/D824

GHC Trac Issues: #10232

mcschroeder/ghc,mfine/ghc,tjakway/ghcjvm,vTurbine/ghc,fmthoma/ghc,ml9951/ghc,gridaphobe/ghc,nkaretnikov/ghc,da-x/ghc,anton-dessiatov/ghc,christiaanb/ghc,ml9951/ghc,ghc-android/ghc,vikraman/ghc,GaloisInc/halvm-ghc,vTurbine/ghc,elieux/ghc,tjakway/ghcjvm,nushio3/ghc,sdiehl/ghc,acowley/ghc,olsner/ghc,gridaphobe/ghc,da-x/ghc,siddhanathan/ghc,acowley/ghc,oldmanmike/ghc,fmthoma/ghc,acowley/ghc,snoyberg/ghc,AlexanderPankiv/ghc,mfine/ghc,TomMD/ghc,nkaretnikov/ghc,elieux/ghc,fmthoma/ghc,snoyberg/ghc,olsner/ghc,ezyang/ghc,ml9951/ghc,shlevy/ghc,nushio3/ghc,fmthoma/ghc,AlexanderPankiv/ghc,nushio3/ghc,urbanslug/ghc,TomMD/ghc,elieux/ghc,ezyang/ghc,da-x/ghc,acowley/ghc,sgillespie/ghc,snoyberg/ghc,anton-dessiatov/ghc,sdiehl/ghc,mcschroeder/ghc,ghc-android/ghc,snoyberg/ghc,olsner/ghc,nkaretnikov/ghc,ml9951/ghc,nkaretnikov/ghc,anton-dessiatov/ghc,mettekou/ghc,mfine/ghc,sgillespie/ghc,da-x/ghc,vikraman/ghc,elieux/ghc,mettekou/ghc,vikraman/ghc,AlexanderPankiv/ghc,ghc-android/ghc,olsner/ghc,shlevy/ghc,ghc-android/ghc,sdiehl/ghc,tjakway/ghcjvm,AlexanderPankiv/ghc,anton-dessiatov/ghc,GaloisInc/halvm-ghc,siddhanathan/ghc,sdiehl/ghc,siddhanathan/ghc,mcschroeder/ghc,anton-dessiatov/ghc,sgillespie/ghc,sdiehl/ghc,vikraman/ghc,siddhanathan/ghc,TomMD/ghc,urbanslug/ghc,ezyang/ghc,acowley/ghc,sgillespie/ghc,TomMD/ghc,ezyang/ghc,urbanslug/ghc,ezyang/ghc,AlexanderPankiv/ghc,shlevy/ghc,sdiehl/ghc,vikraman/ghc,acowley/ghc,gridaphobe/ghc,olsner/ghc,vTurbine/ghc,oldmanmike/ghc,fmthoma/ghc,GaloisInc/halvm-ghc,wxwxwwxxx/ghc,fmthoma/ghc,olsner/ghc,ml9951/ghc,ezyang/ghc,vikraman/ghc,mcschroeder/ghc,nkaretnikov/ghc,shlevy/ghc,shlevy/ghc,sgillespie/ghc,elieux/ghc,wxwxwwxxx/ghc,GaloisInc/halvm-ghc,ghc-android/ghc,ml9951/ghc,ml9951/ghc,nushio3/ghc,da-x/ghc,GaloisInc/halvm-ghc,christiaanb/ghc,wxwxwwxxx/ghc,mfine/ghc,wxwxwwxxx/ghc,GaloisInc/halvm-ghc,wxwxwwxxx/ghc,tjakway/ghcjvm,snoyberg/ghc,sgillespie/ghc,snoyberg/ghc,oldmanmike/ghc,TomMD/ghc,oldmanmike/ghc,nkaretnikov/ghc,mettekou/ghc,tjakway/ghcjvm,mcschroeder/ghc,vikraman/ghc,AlexanderPankiv/ghc,da-x/ghc,nushio3/ghc,wxwxwwxxx/ghc,vTurbine/ghc,christiaanb/ghc,christiaanb/ghc,sgillespie/ghc,TomMD/ghc,anton-dessiatov/ghc,mettekou/ghc,acowley/ghc,urbanslug/ghc,mcschroeder/ghc,GaloisInc/halvm-ghc,urbanslug/ghc,gridaphobe/ghc,siddhanathan/ghc,mcschroeder/ghc,AlexanderPankiv/ghc,gridaphobe/ghc,ghc-android/ghc,elieux/ghc,sdiehl/ghc,nushio3/ghc,vTurbine/ghc,anton-dessiatov/ghc,vTurbine/ghc,mettekou/ghc,da-x/ghc,tjakway/ghcjvm,nushio3/ghc,snoyberg/ghc,gridaphobe/ghc,shlevy/ghc,tjakway/ghcjvm,shlevy/ghc,ezyang/ghc,mettekou/ghc,siddhanathan/ghc,oldmanmike/ghc,wxwxwwxxx/ghc,ghc-android/ghc,mettekou/ghc,mfine/ghc,olsner/ghc,fmthoma/ghc,vTurbine/ghc,christiaanb/ghc,gridaphobe/ghc,urbanslug/ghc,elieux/ghc,ml9951/ghc,mfine/ghc,nkaretnikov/ghc,urbanslug/ghc,oldmanmike/ghc,TomMD/ghc,siddhanathan/ghc,mfine/ghc,christiaanb/ghc,oldmanmike/ghc,christiaanb/ghc