Fixed invalid writes in wavpack decoder on corrupted bitstreams.