libgui: Add pre-MR2-compatible symbol for setPosition

SurfaceControl::setPosition now takes floats instead of integers as
arguments, which breaks linkability from pre-MR2 blobs. Add a direct
compatibility wrapper, since the values are treated in the same
way.

Change-Id: I0fd0708faeb4495a2dbbb659997d6500f165ec98
Rework BOARD_EGL_NEEDS_LEGACY_FB implementation

The problem with the window format boils down to a circular
dependency that makes service startup hang, so skip a round of
queues-to-window-composer to avoid it but keep using regular
Surface objects as windows, instead of replacing them with
native windows.

Change-Id: I6fed0fe04928df370c298c68ac1eb6d5b5cfb214
Merge branch 'cyankang' into cm-10.2
surfaceflinger: Fix building with display-caf + QCOM_BSP

We need the right gralloc header in here

Change-Id: Iaef1a1b9e4b5c9a93ace0dfa2a427ee8ae026e7b
merge changes from CyanogenMod 10.2 into local branch