Fix typing mistakes in trace macros
The detach function declaration in ISC__REFCOUNT_TRACE_DECL
had an
returned an accidental implicit int. While not allowed since C99, it
became an error by default in GCC 14.
ISC_REFCOUNT_TRACE_IMPL
and ISC_REFCOUNT_STATIC_TRACE_IMPL
expanded
into the wrong macros, trying to declare it again with the wrong number
of parameters.