util.c: ignore pollfd.revent for loop_read/loop_write

Let read()/write() report any error/EOF.