Do not let short disablements of the gc affect the gc intervals. The gc interval is now properly saved and restored. Before this, brief gc disablements could lead to alloc_threshold being set to the minimum, which then could lower the max threshold calculation so that the next gc interval could be unnaturally short through the GARBAGE_MAX_INTERVAL strategy.