Correct return value check for kore_task_channel_read().

The data we're using are not NUL-terminated strings.