change mrb_warn to get mrb_state and %S formatter
change mrb_bug to get mrb_state and %S formatter