iio: gts-helper: Fix memory leaks for the error path of iio_gts_build_avail_scale_table() (CVE-2024-53076) | HOL Guard CVE