Buffer overflow in org_xiph_vorbis_encoder_VorbisEncoder.c

bytes/(2*channels) is sometimes larger than READ which causes the app to fails randomly. I think buffer overflow takes place there. Here is a change that fixes the issue.