Use mrb_int instead of int. 

The size of mrb_int is not always same as the size of int.
Similar issus are available in a whole of mruby code.