[PATCH openEuler-5.10 033/557] iio: inkern: make a best effort on offset calculation