Split portfw-error-logging code into a new function.

No code has changed; only moved. Part of a fix for 9781.
Log an error reply from tor-fw-helper correctly.

Fix for bug 9781; bugfix on cd05f35d2cdf50 in 0.2.4.2-alpha.
Merge branch 'bug9781_v2'