Remove obsolete ptrdiff_t usages.