moved some macros to constexpr methods of mrb_value