vorbisenc: Apply and output correct length window and mdct