IIOD client: Use read_line to read version string
IIOD client: Use read_line to read version string

The version string returned by the IIOD server can vary in length, and
is LF-terminated. It makes sense to use read_line here.

Signed-off-by: Paul Cercueil <73d292422978d45c9eeef455bb1b24a0db453722@analog.com>

analogdevicesinc/libiio,analogdevicesinc/libiio,analogdevicesinc/libiio,analogdevicesinc/libiio