Clean up struct.c

Use mrb_int as possible.