small pdns_iequals() optimization