Change from macro to direct call of mrb_get_datatype