msm: vidc: add new control for limiting i/p buffer size

Take the minimum of the size calculated by driver using
max width and height supported and the size set by client
for input buffers. Change interface to get input and
output buffer sizes.

Change-Id: Ida75a5718013cc852df74ea69a3b4e9a0c47d4a6
Signed-off-by: Manikanta Sivapala <msivap@codeaurora.org>