avcodec/exr: stop using deprecated avcodec_set_dimensions()