Splint-related fixes in tizport.c and friends.
Fixed regressions after changes done to tizport.c