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