core: Define _TIME_BITS to ensure 64-bit time in 32-bit platforms
This is not always defined for us, and is necessary to get 64-bit wide time_t types on 32-bit platforms. Luckily, we can define this concisely in the file needing it, and don't have this type in API barriers.
Closes: #404 (closed)