Portability fix for formatting IPv6 reverse names