camera: Clean, write-back, cache for preview and video buffers.

Write-back preview and video buffers to main memory before they
are passed to display and video encoder respectively.

Change-Id: I748a23a2b1ade1163d6ec09623090ad4d043a441
CRs-fixed: 360677
4 files changed