Linux tracepoints fixes for older GCC and autoconf

Refactoring and fixes to allow ZFS on Linux to build with tracepoints support using older GCC and autoconf.  See individual commit messages for details.