Remove total_seconds function from objToJSON.c
There is a legacy function `total_seconds` that is no longer needed.  There is one usage left in _libs/src/ujson/objToJSON.c`.  Someone competent in C should be able to remove it without much trouble.

See discussion in #17289.

