cleanup cg code
correct prototype for cg segment identifier, now only segment_id prototype is used
use segment_id prototype for C, C++ and F77 compilers
unify symbol names for segment identifier variables
use short type for segment identifier variables globaly
add new header file objout.h to share prototypes related to object file