MFC r320472,r320508,r320509:Make stdio deferred cancel-safe.Requested by: eugen
MFC r268985, r269001:Avoid possible cast degradation.Assign iov_len first, avoiding the cast to uio_resid(int in stdio) from degrading the value.Small cosmetical fix while here.