Fix building of hwcomposer for msm devices
Merge pull request #8 from Flyhalf205/cm-10.1

Fix building of hwcomposer for msm devices
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 hopefully fix the video playback issue.
Merge pull request #9 from Flyhalf205/cm-10.1

vidc: Use O_SYNC for pmem device.