GC triggering performance optimizations

Copy the correct starting heap size at process init.
Interfaces to set GC/managed heap parameters.

Change-Id: Ifbc6194310c61c05206f1d425ba5b4ebf8658141
gl_code.cpp: Remove a DOS style newline

Change-Id: Id3edd6e511371fa8b0afef2e90baed4662ed76c4
Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
surfaceflinger: Work around aliasing violations

Change-Id: I22e758390c1312e60bb4adac2365be201ba6f161
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>

Conflicts:
	services/surfaceflinger/Android.mk
Squash GCC 4.8 fixes

gldual: Fix build with gcc 4.8+
Use -Wno-error=unused-parameter with gcc >= 4.8

gl2_jni: Fix build with gcc 4.8+
Use -Wno-error=unused-parameter with gcc >= 4.8

gl_perfapp: Fix build with gcc 4.8+
Use -Wno-error=unused-parameter with gcc >= 4.8

gl_jni: Fix build with gcc 4.8+
Use -Wno-error=unused-parameter with gcc >= 4.8