fix avahi compile-time warnings:
  - annotate unused function argument as such.
  - cast resolve_callback as AvahiServiceResolverCallback.
Merge pull request #1441 from cdituri/core/fix-avahi-compile-warnings

Stop avahi code from horking up compile-time warnings