Express: msm: vidc: Fix possible memory corruption