Update lib/dalli/ring.rb

Avoiding mixing var declarations (C90 std)
Merge pull request #326 from virgoproz/master

The ring.rb native code is now C90 compliant ( production servers that enforce std=C90 can now use this optimization )