Ninja-fix RefCountedMemory