samplefmt: add a function for filling a buffer with silence.