cmdutils: move grow_array out of #if CONFIG_AVFILTER