Fixed a possible out-of-bound access when reading WavPack files

Accoding to the WavPack documentation at http://www.wavpack.com/file_format.txt, the sampling rate index can be up to 15.