Get all available groups. Simply resize the groups buffer until large
enough. Free it later.


git-svn-id: svn://svn.valgrind.org/valgrind/branches/BUF_REMOVAL@14216 a5019735-40e9-0310-863c-91ae7b9d1cf9