[corlib] Take shadow copying when computing CodeBase in Assembly::GetName.