Use unsigned type for non-negative values, apply `pointer_delta` for pointer subtraction, and drop some unnecessary type-cast.
- relates to
-
JDK-8177480 Prepare GC code for -Wconversion
- Open
JDK-8177480 Prepare GC code for -Wconversion