add MRB_API modifiers to mruby API functions