media-legacy: allow other platforms to build libs

Change-Id: Ie3e2c705d275d30e3c8ef2d1c0522ff05522c14a
vidc: Use O_SYNC for pmem device.

Necessary as usageflags are indicates an uncached
device. Without O_SYNC buffers become corrupt leading to
HW_ERRORS in vidc.

This commit will fix the video playback issue.

A BIG thanks to ARCO for this commit !!!
Change-Id: I2fe8d1ce6b8aa93c608c0fb41f94b6f0484a42c2
media-legacy: Add kernel includes for vdec/venc.

Change-Id: Idad75d4a512ec446ce70327ed30f900c201cbc6a
Revert "media-legacy: Add kernel includes for vdec/venc."

This reverts commit e8d3c5458bb7b418a94465418d2dce47047bbb6c.
Merge pull request #2 from coderzstas/jellybean

Jellybean