topology: Use generic pointer to realloc buffer for private data
topology: Use generic pointer to realloc buffer for private data

Many element types have private data. So use the generic obj pointer
instead of the type-specific pointer when reallocating the object to
accommodate the private data.

Empty private data will be overlooked.

Signed-off-by: Mengdong Lin <ac87c9ff77e1b1b91a4205a4fd089f74fbeac283@linux.intel.com>
Signed-off-by: Takashi Iwai <4596b3305151c7ee743192a95d394341e3d3b644@suse.de>

zedongchen/alsa-lib,alsa-project/alsa-lib,zedongchen/alsa-lib,tiwai/alsa-lib,takaswie/alsa-lib,zedongchen/alsa-lib,takaswie/alsa-lib,takaswie/alsa-lib,zedongchen/alsa-lib,alsa-project/alsa-lib,alsa-project/alsa-lib,takaswie/alsa-lib,tiwai/alsa-lib,tiwai/alsa-lib,alsa-project/alsa-lib,takaswie/alsa-lib,tiwai/alsa-lib,zedongchen/alsa-lib