C API: Add functions to get or set a GlobalValue's DLLStorageClass

Patch by Manuel Jacob!