ogg: Fix potential infinite discard loop