Add support for mark phase of the ruby GC