prefer wrapper funcs to #define system fd flags

Also, fix prior patch to call ev->fcntl_set() when hook is configured