configurator: Return pointer difference as ptrdiff_t