GC triggering performance optimizations

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

Change-Id: Ifbc6194310c61c05206f1d425ba5b4ebf8658141
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
Merge remote-tracking branch 'rascarlo/jb-ras-mr1.1' into jb-mr1.1
Merge remote-tracking branch 'upstream/jb-mr1.1' into HEAD