Add #undefs for posix source symbols when including papi.h
Add #undefs for posix source symbols when including papi.h

Validation fails when validating with PAPI support (i.e. GhcRtsWithPapi  = YES
in validate.mk).  The problem is that the posix symbols are defined by a header
included from papi.h. Compilation then fails because these symbols are
redefined in PosixSource.h. 

This patch adds an undefine for the posix symbols after including papi.h and
before including PosixSource.h. The #undefines are localized to Papi.c since
that is the only case where they are getting defined twice.

ml9951/ghc,anton-dessiatov/ghc,elieux/ghc,snoyberg/ghc,anton-dessiatov/ghc,vTurbine/ghc,ml9951/ghc,TomMD/ghc,fmthoma/ghc,acowley/ghc,anton-dessiatov/ghc,snoyberg/ghc,ekmett/ghc,vikraman/ghc,sdiehl/ghc,sdiehl/ghc,sgillespie/ghc,mcmaniac/ghc,oldmanmike/ghc,AlexanderPankiv/ghc,da-x/ghc,tjakway/ghcjvm,nushio3/ghc,elieux/ghc,holzensp/ghc,fmthoma/ghc,hferreiro/replay,ilyasergey/GHC-XAppFix,nathyong/microghc-ghc,bitemyapp/ghc,urbanslug/ghc,shlevy/ghc,snoyberg/ghc,vikraman/ghc,olsner/ghc,ekmett/ghc,ryantm/ghc,siddhanathan/ghc,bitemyapp/ghc,nathyong/microghc-ghc,olsner/ghc,holzensp/ghc,sgillespie/ghc,vTurbine/ghc,da-x/ghc,holzensp/ghc,sgillespie/ghc,gcampax/ghc,sdiehl/ghc,da-x/ghc,AlexanderPankiv/ghc,sgillespie/ghc,olsner/ghc,bitemyapp/ghc,gridaphobe/ghc,ryantm/ghc,ml9951/ghc,mettekou/ghc,wxwxwwxxx/ghc,siddhanathan/ghc,ekmett/ghc,forked-upstream-packages-for-ghcjs/ghc,mcschroeder/ghc,spacekitteh/smcghc,nkaretnikov/ghc,christiaanb/ghc,spacekitteh/smcghc,nomeata/ghc,mcschroeder/ghc,ilyasergey/GHC-XAppFix,bitemyapp/ghc,ilyasergey/GHC-XAppFix,jstolarek/ghc,mettekou/ghc,urbanslug/ghc,urbanslug/ghc,mcschroeder/ghc,acowley/ghc,gcampax/ghc,nathyong/microghc-ghc,acowley/ghc,urbanslug/ghc,ekmett/ghc,green-haskell/ghc,christiaanb/ghc,acowley/ghc,mcmaniac/ghc,acowley/ghc,GaloisInc/halvm-ghc,mfine/ghc,wxwxwwxxx/ghc,ezyang/ghc,ryantm/ghc,nathyong/microghc-ghc,ghc-android/ghc,gcampax/ghc,lukexi/ghc-7.8-arm64,jstolarek/ghc,siddhanathan/ghc,gridaphobe/ghc,ml9951/ghc,holzensp/ghc,frantisekfarka/ghc-dsi,nkaretnikov/ghc,ml9951/ghc,gcampax/ghc,frantisekfarka/ghc-dsi,gridaphobe/ghc,lukexi/ghc,fmthoma/ghc,AlexanderPankiv/ghc,snoyberg/ghc,christiaanb/ghc,lukexi/ghc,tibbe/ghc,TomMD/ghc,holzensp/ghc,nushio3/ghc,sdiehl/ghc,vTurbine/ghc,green-haskell/ghc,nkaretnikov/ghc,mettekou/ghc,wxwxwwxxx/ghc,anton-dessiatov/ghc,hferreiro/replay,sgillespie/ghc,nkaretnikov/ghc,nomeata/ghc,wxwxwwxxx/ghc,snoyberg/ghc,elieux/ghc,nkaretnikov/ghc,elieux/ghc,ezyang/ghc,olsner/ghc,acowley/ghc,forked-upstream-packages-for-ghcjs/ghc,ghc-android/ghc,tjakway/ghcjvm,GaloisInc/halvm-ghc,ezyang/ghc,christiaanb/ghc,anton-dessiatov/ghc,nathyong/microghc-ghc,vikraman/ghc,tjakway/ghcjvm,vikraman/ghc,anton-dessiatov/ghc,frantisekfarka/ghc-dsi,oldmanmike/ghc,GaloisInc/halvm-ghc,vTurbine/ghc,AlexanderPankiv/ghc,oldmanmike/ghc,mfine/ghc,olsner/ghc,sdiehl/ghc,snoyberg/ghc,ghc-android/ghc,mcmaniac/ghc,christiaanb/ghc,olsner/ghc,jstolarek/ghc,nushio3/ghc,spacekitteh/smcghc,christiaanb/ghc,lukexi/ghc-7.8-arm64,acowley/ghc,ryantm/ghc,mcmaniac/ghc,mfine/ghc,mfine/ghc,gridaphobe/ghc,forked-upstream-packages-for-ghcjs/ghc,shlevy/ghc,ml9951/ghc,oldmanmike/ghc,mcmaniac/ghc,sgillespie/ghc,ekmett/ghc,AlexanderPankiv/ghc,gridaphobe/ghc,ezyang/ghc,shlevy/ghc,tjakway/ghcjvm,nushio3/ghc,elieux/ghc,mfine/ghc,urbanslug/ghc,TomMD/ghc,oldmanmike/ghc,green-haskell/ghc,fmthoma/ghc,mcschroeder/ghc,hferreiro/replay,tjakway/ghcjvm,lukexi/ghc,hferreiro/replay,green-haskell/ghc,sdiehl/ghc,nkaretnikov/ghc,sgillespie/ghc,tibbe/ghc,ghc-android/ghc,da-x/ghc,mettekou/ghc,mfine/ghc,ezyang/ghc,lukexi/ghc-7.8-arm64,elieux/ghc,green-haskell/ghc,ghc-android/ghc,shlevy/ghc,gridaphobe/ghc,nathyong/microghc-ghc,da-x/ghc,gcampax/ghc,oldmanmike/ghc,fmthoma/ghc,tibbe/ghc,anton-dessiatov/ghc,mettekou/ghc,snoyberg/ghc,mfine/ghc,vTurbine/ghc,TomMD/ghc,lukexi/ghc,elieux/ghc,mettekou/ghc,urbanslug/ghc,fmthoma/ghc,ml9951/ghc,lukexi/ghc,oldmanmike/ghc,mcschroeder/ghc,hferreiro/replay,siddhanathan/ghc,shlevy/ghc,fmthoma/ghc,tjakway/ghcjvm,GaloisInc/halvm-ghc,bitemyapp/ghc,forked-upstream-packages-for-ghcjs/ghc,gcampax/ghc,forked-upstream-packages-for-ghcjs/ghc,lukexi/ghc-7.8-arm64,tibbe/ghc,nomeata/ghc,vikraman/ghc,ghc-android/ghc,siddhanathan/ghc,vTurbine/ghc,spacekitteh/smcghc,tibbe/ghc,spacekitteh/smcghc,hferreiro/replay,jstolarek/ghc,nushio3/ghc,mcschroeder/ghc,jstolarek/ghc,ghc-android/ghc,TomMD/ghc,da-x/ghc,nathyong/microghc-ghc,christiaanb/ghc,nkaretnikov/ghc,sdiehl/ghc,frantisekfarka/ghc-dsi,AlexanderPankiv/ghc,ilyasergey/GHC-XAppFix,mcschroeder/ghc,ezyang/ghc,tjakway/ghcjvm,ryantm/ghc,olsner/ghc,frantisekfarka/ghc-dsi,nomeata/ghc,forked-upstream-packages-for-ghcjs/ghc,vikraman/ghc,ezyang/ghc,GaloisInc/halvm-ghc,da-x/ghc,AlexanderPankiv/ghc,nushio3/ghc,siddhanathan/ghc,forked-upstream-packages-for-ghcjs/ghc,TomMD/ghc,GaloisInc/halvm-ghc,TomMD/ghc,gridaphobe/ghc,gcampax/ghc,vTurbine/ghc,ml9951/ghc,nomeata/ghc,urbanslug/ghc,shlevy/ghc,nushio3/ghc,vikraman/ghc,wxwxwwxxx/ghc,mettekou/ghc,wxwxwwxxx/ghc,siddhanathan/ghc,lukexi/ghc-7.8-arm64,GaloisInc/halvm-ghc,shlevy/ghc,wxwxwwxxx/ghc,hferreiro/replay