legacy OMX: squashed commit for legacy OMX support for LP

* Enable by setting TARGET_QCOM_LEGACY_OMX := true in BoardConfig.mk.
* Added support legacy Qualcomm OpenMAX IL libs for MSM7x27
* Correct gralloc usage flags for renderer
* Ensure that a valid frame_rate is passed to the encoder
* Fix alignment and copy size for legacy QCOM OMX
* Fixed Gingerbread mmparser using
* Try use ExtendedExtractor only if no suitable default extractors available f
* Allows use of legacy mmparser without enabling all QCOM A/V enhancements
* omxcodec: fix typo (requires-loaded-to-idle-after-allocation)
* legacy OMX: handle QCOM colorformat

Original authors :
- Alexey Shavykin <ganster0x29@gmail.com>
- Conn O'Griofa <connogriofa@gmail.com>
- Grigori Goronzy <greg@blackbox>
- Konsta <konsta09@gmail.com>
- Daz Jones <yuki@thebronasium.com>
- Robin Humble <plaguedbypenguins@gmail.com>

Change-Id: I7b51ebed0abb38ca10a30d43dc22a222229bd349