avfilter/audio: use av_mallocz_array()