Break trace.h out into multiple headers

This commit refactors sys/trace.h into multiple header files to improve
readability and manageability. There are no functional changes.

Signed-off-by: Ned Bass <bass6@llnl.gov>