msm: vidc: avoid crash due to division by zero