[PATCH 6.4 095/206] iio: core: Prevent invalid memory access when there is no parent