Minor changes for effeciency to array finalization, as well as added callStructDtorsDuringGC to core.memory.