[AE] - Fix wrong comparison in AERingBuffer (backport from old CoreAudioRingBuffer)