altos/scheme: Work around gcc 7.2.0 optimization bug in memory manager