server: read_devattr_stdout fix return retval

Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>