Basic specs for INT2NUM / rb_int2num.
Use `int` for INT2NUM instead of `long int`.

MRI changed the signature of INT2NUM to use `int` instead of `long` starting
with MRI 1.9.

This fixes #3072.