msm: vidc_3x: ensure codec count is in supported session range

Ensure the count of supported encoder and decoder returned
from firmware are within the range of supported sessions.

Change-Id: Ib1e70d42ed5110859c6c512ec9c93f4d4197cda6
Signed-off-by: Dikshita Agarwal <dikshita@codeaurora.org>
2 files changed