[opaque pointer type] Use GlobalVariable::getValueType rather than accessing it throu...