pipe: change pipemapping cnt/pos to u_int
This matches the case using regular buffers and avoids an ifdef later.
Suggested by: markj