testsuite: Fix lo0 ifconfig error

Avoid "ifa_del_loopback_route: deletion failed".
SYSLOG(3): Replace implementation

Avoid potential buffer overflows on the stack.  Expand the %m in the
format string.