xms: use smrealloc() for realloc, instead of alloc/copy/free This fixes Dos Navigator going OOM