in clock_getres, check for null pointer before storing result