frameworks/native: Add support for Tegra3 based Devices by adding options
* BOARD_EGL_SKIP_FIRST_DEQUEUE to add back the legacy EGL workaround
* BOARD_USE_MHEAP_SCREENSHOT to support mHeap-based Screenshots
Those Changes are taken from
* CM (see https://github.com/CyanogenMod/android_frameworks_native/commit/c3b18f73fd7ff58794f39ad36a49c7bce996967c)
* CM (see http://review.cyanogenmod.org/#/c/53162/)

Change-Id: I41be2cedd54ed6f72d1a498b1d11e8768406fe0e
Enable the use of old HWComposer APi

Tegra 2 devices like TF101 need this to stop surfaceflinger from crashing, causing hotboots
Board flag is BOARD_NEEDS_OLD_HWC_API := true

Change-Id: I931be737b809427c6ce1c9f61200687450b14a8d
sf: Fix detection of 0.3 hwcomposer

The format was different, so look at the header bits too...

Change-Id: Ibc3d4c9f6bca74d6951041f92e2ecc6189e58c41
sf: Don't do premultiplied alpha blending on the statusbar for hwc <= 0.3

Blending the translucent statusbar with the limited alpha implementation
of older HWC versions is glitch-prone, so don't do that with the compositor
at all

Change-Id: I96b49823b837a5063960d39c0937caea8bb3116a
merge changes from Omni 4.4 into local branch