gc: Export `ruby_memnotify`

I wanna be able to add GC pressure to the Ruby GC so external libraries that don't use Ruby's memory allocator can trigger GC runs.

@charliesome @dbussink: How's this for size?

I was confused a bit about this signature at first before reading the code. Guess it makes sense, but maybe good to document that behavior in a comment?