[PATCH 4.14 137/193] iio: hmc5843: fix potential NULL pointer dereferences