msm: vidc: Send resolution along with output buffer

Send the resolution along with output buffer to the client
to avoid a race condition where resolution might be changed
multiple times in driver before client requests for updated
resolution.

Change-Id: I8ebb99e3baa04da09f153195a674babcebcfea78
Signed-off-by: Maheshwar Ajja <majja@codeaurora.org>
msm: vidc: Don't free OCMEM when there is an open video instance

Currently, vidc enters power collapse after a video has been paused
for 10 seconds; however, the video instance is not closed. Resuming
the video after vidc has entered power collapse causes our vidc
firmware to crash, thus breaking video functionality until the device
is rebooted.

Not freeing OCMEM during power collapse in the middle of an open
video instance works around this issue and is good enough until
the underlying issue has been fixed.

Change-Id: Ieb69e552b860941c43d959dc7bea0c938abbd5bc
Signed-off-by: Sultanxda <sultanxda@gmail.com>
Merge https://github.com/CyanogenMod/android_kernel_samsung_mondrianwifi into HEAD