adjust Makefile for legacy usage
media-legacy: Add kernel includes for vdec/venc.

Change-Id: Idad75d4a512ec446ce70327ed30f900c201cbc6a
Added missing files to allow building with media-legacy devices

Change-Id: I7fb842f2437c81f164bf0cdfe7e7cfd2bcee44ad
libc2dcolorconvert: add include for kernel headers

The header msm_kgsl.h is needed.

Change-Id: If4649530f0acf79f3246c9f202f082206eab6b07
vidc: offer optional MM heap usage over IOMMU

* partly adopted from this commit:
https://github.com/letama/hardware_qcom_media/commit/8a260a9d1b6fba8eb10a01afbf1c2f20eed3fec3
vidc: fix some compilation errors

* ...and put FIXME marks on those screwed logs.
vidc: rework MM heap usage
vidc: small fixups

* add missing kernel includes/dependencies
* fix ION ID mismatch
Fix build for KitKat
Use TARGET_QCOM_MEDIA_VARIANT flag