native: add flag to disable legacy sensors fusion

Causes problems on all p31xx devices.
http://pastebin.com/PabjFVWP

Change-Id: Iac9a913e0984d7e9e419772215d3fb3d1a0cb5e8
Merge branch 'DJL10.1' of github.com:DJLaMontagneIII/android_frameworks_native into DJL10.1
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