Fix crash when analysing audio of large-channel-count files.