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
libhardware: Modify ifdefs for legacy DirectTrack

Change-Id: Id3a8adc3bd3b8fe5973e359b5268671f6fd26cd4
libhardware: Add fix for offload playback.

-Offload mode requires frame size to be unity.
-Tunnel encode changes results in a invalid frame size being
 returned to audio flinger.
-Add 24 bit PCM format as exception to linear pcm.

Change-Id: I23d1960b0a493da20f48de788bb13e6f055ebe03
Merge branch 'cm-11.0' of https://github.com/CyanogenMod/android_hardware_libhardware into kk4.4