sysvshm: fix shmrealloc
The code was supposed to initialize new segs in newsegs array, but used the old pointer.