revdns: Fix issues reported by golint.