Remove inline functions that cause compile warnings when building external applications.
Fix type warnings in ring buffer test
Add in a variable libtrace_parallel, first set when using the parallel functions. This ensures backwards compatibility with trace_destroy() calling fin_packet(), which will can segfault if the trace is already destroyed first like many existing programs do.
This means the tests pass again.