Use size_t for length in replaycache_add_test_and_elapsed()

For consistency with the rest of buffer lengths in Tor.

See #8960