avfilter/af_join: Use av_mallocz_array()