Core: Initialize pthread_key duda_logger_fmt_cache

This pthread key was not initialized, generating a corruption on
Jemalloc when exiting the threads.

Signed-off-by: Eduardo Silva <eduardo@monkey.io>