utils: fix infinite loop when reading from binary file
If the file is binary, g_io_channel_read_line() returns G_IO_STATUS_ERROR with error "Invalid byte sequence in conversion input" and we loop forever. Invert the loop condition.
Reported-by: Matteo Croce mcroce@redhat.com