Added API function iio_channel_convert

This function can be used to convert a sample read from a raw stream.

Signed-off-by: Paul Cercueil <paul.cercueil@analog.com>