hax: Add back the SURFACE_SKIP_FIRST_DEQUEUE legacy EGL workaround

Set BOARD_EGL_SKIP_FIRST_DEQUEUE to use

Change-Id: I46257a7e9e6b6e093a5cb92eaaaef4bdd0435a12
Forward-port surface dithering from CM10.2

This allows the use of 16-bit color displays without excessive color
banding;

Change-Id: Icb469b9cb4beb686516c60bb576dbd0a73f505e0
Merge "Forward-port surface dithering from CM10.2" into cm-11.0
Merge "hax: Add back the SURFACE_SKIP_FIRST_DEQUEUE legacy EGL workaround" into cm-11.0
Merge branch 'cm-11.0' of https://github.com/CyanogenMod/android_frameworks_native into CyanogenMod-cm-11.0

Conflicts:
	libs/gui/Android.mk

	modified:   include/batteryservice/BatteryService.h
	modified:   include/gui/Surface.h
	modified:   libs/gui/Android.mk
	modified:   libs/gui/Surface.cpp
	modified:   services/batteryservice/BatteryProperties.cpp
Merge branch 'CyanogenMod-cm-11.0' into cm-11.0