replace deprecated RUBY_FREE_MIN with RUBY_GC_HEAP_FREE_SLOTS