Add the tor version and a newline to raw_assert()

We're missing a newline and the tor version in the logs for #31570 (moved).