xseg: Free xseg context allocated memory

The caller never uses again the same allocated memory
for the xseg context. Instead calls xseg_join() to join
the segment again. This introduces a memory leak every time
the caller leaves and rejoins the shared memory segment on the
same process address space.