move prototype of mrb_format() from error.h to mruby.h; ref #2274