swr/rematrix: use av_calloc()