osc:libini: return error open fails

Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Merge branch 'master' of https://github.com/analogdevicesinc/iio-oscilloscope