glib2: remove a warning

glib2/lib/glib-mkenums.rb:32: warning: assigned but unused variable - ret