OS-3319 clock_getres needs to support NULL *res