sys/sys/eventhandler.h: Implement EVENTHANDLER_DEFINE

Sync from FreeBSD.

Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>