Eliminate some redundant Tcl_GetErrno() calls.