use realloc for vector


git-svn-id: http://svn.code.sf.net/p/sauerbraten/code@5015 07af1644-1164-4067-b897-63bf4dc9b748