Copy externally_initialized in GlobalVariable::copyAttributesFrom.

Patch by Kevin Frei!