Only log port self-testing message when we are _starting_ to test.
(Unlike approaches in earlier versions of Tor, this one logs if and only if we are launching a test, and we haven't said that we're testing this port.)
Fixes bug 40068; bug not in any released version.
Closes #40068 (closed).
Github PR at https://github.com/torproject/tor/pull/2047