avcodec/cavs: use av_mallocz_array()