[thread] Only register a dead letter if the current NSThread is non-null.

This breaks all embedder that don't link with CoreFoundation. In mono's case, monodis.
Fix callback, more helpers, fix units.
Use new counters for gc counter.
[sgen] Clean the memory governor a bit.
[counters] Add another helper.
[sgen] Write a few counters into the new infrastructure.