Explicitly define cmp_pandas_datetimestruct
Fixes build warning
```
pandas/_libs/tslib.c:78967:17: warning: implicit declaration of function 'cmp_pandas_datetimestruct' is invalid in C99 [-Wimplicit-function-declaration]
```
