gio2: handle WOULD_BLOCK on read_nonblocking