Fix audio analysis crash introduced when increasing MAX_AUDIO_CHANNELS.