Cherry-pick commit 4a7d31c87bf41c1de21cb725176d5b34c2a95720 from TagLib master to fix a decoding crash. See pull request: https://github.com/taglib/taglib/pull/309.