Avoid an overflow when computing the staleness. This issue was found by running libfuzz on the userland stack.
MFC after: 1 week