Introduce GAMMARAY_{CORE,UI}_EXPORT macros

Split up GAMMARAY_EXPORT macro for that.