msm: vidc: fix a race condition in OCMEM free function