Added missing #ifdef
Removed obsolete rrset_compare functions.

- They were not properly implemented anyway and are not needed in the server.
- Removed tests as well.

Change-Id: Id2794fc7b29b9bf03491bbc4c168be796372bfe3