Realloc to size determined by struct size and sizealloc