Fix compiler warning in test_difftimeval