This adds support for constants of aggregate types, i.e. structs and arrays.
Previously the conversion from a constant aggregate Value to a GenericValue
was missing in ExecutionEngine::getConstantValue, and this patch implements
just that by writing all elements in sequence into the corresponding
GenericValue field.