Add new druntime code.

Changes in core/thread.d and rt/lifetime.d, mainly to support PPC64.