[PATCH 6.6 099/151] iio: gts-helper: Fix memory leaks in iio_gts_build_avail_scale_table()