ivi_common: stop using deprecated avcodec_set_dimensions