flacdec: allocate sample buffers with av_malloc