Fix crash on corrupt input file (invalid mode index)
vorbis_packet_blocksize() crashes with a NULL pointer dereference,
if the "mode" index read from the packet is too large. Check this
immediately after reading the value and before accessing the mode
parameters. This crash potentially affects all users of libvorbisfile
and anyone else who calls vorbis_packet_blocksize() manually.
Patch by Martin Steghöfer <martin@steghoefer.eu>
Fixes #2140
Bug-Debian: https://bugs.debian.org/774516
svn path=/trunk/vorbis/; revision=19419