libmemcached: fix a reallocation crash