libpfrng: use seconds in diff

Using seconds in diff could improve entropy and prevent integer
overflow.