cmake: Prevent ld to export symbols from libgcc/libstdc++.
cmake: Prevent ld to export symbols from libgcc/libstdc++.

Based on Vivek Dasmohapatra's Mesa patch on

  http://lists.freedesktop.org/archives/mesa-dev/2015-March/079121.html

Fixes issue #330.

joshua5201/apitrace,apitrace/apitrace,swq0553/apitrace,joshua5201/apitrace,tuanthng/apitrace,tuanthng/apitrace,schulmar/apitrace,apitrace/apitrace,tuanthng/apitrace,tuanthng/apitrace,swq0553/apitrace,surround-io/apitrace,EoD/apitrace,EoD/apitrace,schulmar/apitrace,schulmar/apitrace,swq0553/apitrace,joshua5201/apitrace,EoD/apitrace,joshua5201/apitrace,surround-io/apitrace,trtt/apitrace,trtt/apitrace,apitrace/apitrace,EoD/apitrace,tuanthng/apitrace,schulmar/apitrace,trtt/apitrace,surround-io/apitrace,trtt/apitrace,trtt/apitrace,swq0553/apitrace,swq0553/apitrace,schulmar/apitrace,apitrace/apitrace,joshua5201/apitrace,surround-io/apitrace,EoD/apitrace,surround-io/apitrace