[ruby-core:115437] [Ruby master Bug#20010] Backport 84a12d65 (Fix compile error on older systems without clock_get*)