Fix `realtime::Timespec` services on 32 bits systems and Windows by moving some critical code to C. This PR does not change the API. However, I have plans for a future revamp of the API to reduce the number of mallocs.
Pull-Request: #2380
Reviewed-by: Jean Privat <jean@pryen.org>