xseg: Change xseg_join() interface

Make pointers to segment name, segment type and peer type
pointers to constant.