Make rb_funcall3 call only public methods

This PR makes `rb_funcall3` in C API (currently is an alias for `rb_funcall2` and can call private methods) call public methods only.