[counters,proflog] Add mono_counters_on_register/delete callbacks + Use them in proflog

This is used for managed defined counters, because they are created after runtime initialization.
This also mean that TYPE_SAMPLE_COUNTERS_DESC can now be emitted at any time and not only once.