cleanup C compiler code
use segid name for variables/members referenced to segments
use SEG_UNKNOWN macro where appropriate