Use sizeof instead of magic number

And `mrb_exc_new` is simpler than `mrb_exc_new_str`.