lavr: make avresample_read() with NULL output discard samples.