Splits `on_team_end`.
Splits `on_team_end`.

Metric recalculation is now only done by the master thread on thread join event. Some mutex improvements and code clean-up as
well.

Fixes missing `callq` pointer.

Documentation update.

Renaming mutex to a more descriptive name.

Changing alignment of the structs.

Moves unification of thread local info to `on_join`.

This results in fewer needed locks and in that way reduces the overhead significantly.

rschoene/scorep_substrates_dynamic_filtering,Ferruck/scorep_substrates_dynamic_filtering