Add support for VAD when encoding with Speex