Adds a new tommy_ptrdiff_t type for internal use.
Differentiates use of integer types.

We have now different types for different usages,
even if they are all 32 bits types.
Some variable renaming. No functional change.
Removes an almost duplicate variable.

We can derive the number of segment from the number of bit.