surfaceflingerconsumer: Select texture target based on pixel format

Adreno is not optimized for GL_TEXTURE_EXTERNAL_OES, making GPU
utilization (and power), high with GL_TEXTURE_EXTERNAL_OES for
RGB formats.
Change texture target from GL_EXTERNAL_TEXTURE_OES to dynamically
select between GL_EXTERNAL_TEXTURE_OES, and GL_TEXTURE_2D based
on the pixel format.
This change is done to reduce the composition time for 8x55
*Ported from ics
*ifdef for BOARD_ADRENO_DECIDE_TEXTURE_TARGET

*Ported to Android 4.3

*Patchset 2: cleanup white space

*Patchset 3: fix build errors

Change-Id: I375bdc576355a63a2867e900dc0d12cf0195298b