gralloc: Fix inverted colors on BRGA

Don't assume any 32bpp mode is RGBX.
This is a forward-port of
commit f50b075a8b88eff482628e8ab62a04539117c7ea

Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
hwcomposer: Add HWC_EVENT_ORIENTATION to hwc

Change-Id: If15b475173600d2467d7fbdd43b428b4bdd94d8a
CRs-fixed: 382796
hwcomposer: Add HWC_BLIT compositiontype value

- HWC_BLIT this layer will be handled in the HWC, using a blit engine
- setting this will inform Surfaceflinger to flip FB_TARGET

Change-Id: I25d19ec41b57863d451c3e390109c912faf1381c
Merge remote-tracking branch 'cm/cm-10.1' into [branch name redacted]

Change-Id: I52a3a4c51e1c17f8458311fd66a490b27a7e6d6d