[PATCH v2] iio: common: st_sensors: Fix use of uninitialize device structs