insmod: mix xmalloc with xrealloc_vector more carefully

1 file changed