gsocket: make GSocketSource trigger on G_IO_NVAL

Getting G_IO_NVAL probably indicates bugs/race conditions in the
calling code, but if GSocket just ignores it, it will get stuck in an
infinite loop.