use realloc for vector


git-svn-id: https://svn.code.sf.net/p/sauerbraten/code/src@5015 07af1644-1164-4067-b897-63bf4dc9b748
Merge branch 'master' into spaghettimod