[media] omap3isp: preview: Fix output size computation depending on input format