fnmatch: Use idx_t for nonnegative ptrdiff_t variables.