[ruby-core:115425] [Ruby master Bug#20010] Backport: Fix compile error on older systems without clock_get*