msm: vidc: Added error handling in clock data structure

Added Conditional check to ensure presence of clock data,
Close the session if it does not exist

Change-Id: I16f06d89c9a8195242fc3715aa13ac12ebcd99c1
Signed-off-by: Govindaraj Rajagopal <grajagop@codeaurora.org>
2 files changed