[LCG] Add some pedantry to the use of ptrdiff_t to appease build bots.