Add thread_safe gem

The thread_safe gem is recommended whenever using custom converters, such as Asciidoctor PDF.