msm_vidc: Add error check for clock scaling.
msm_vidc: Add error check for clock scaling.

Clock scaling uses timestamp to determine the current fps.
Timestamp for some frames might be invalid and shouldn't
be used to calculate the fps. Add a check to handle this case.

Change-Id: I8c570b131d11b1d2644806714fe2a726ca155eb5
Signed-off-by: Praneeth Paladugu <0e3ab3e485f5469ea79d32d8876d1e2069da6bd5@codeaurora.org>

TeamVee-Kanas/android_kernel_samsung_kanas,TeamVee-Kanas/android_kernel_samsung_kanas,TeamVee-Kanas/android_kernel_samsung_kanas,TeamVee-Kanas/android_kernel_samsung_kanas,TeamVee-Kanas/android_kernel_samsung_kanas