Define tracepoint callback only if TRACEPOINT_DEFINE defined

Compiling tracepoint providers in clang will result in 'Wunused-function'
warning, since tracepoint callbacks are defined but never called.

lttng-gen-tp is also updated to not put TRACEPOINT_DEFINE in generated
headers.

Fixes #760