avcodec/fft-test: use av_malloc_array()