Replace most `toStringz`/`toUTF16z`/`toUTFz` usages with `tempCString*` ones.

Only non-trivial cases left when a refactoring is required to use a temporary buffer.
Also add `nothrow`/`@nogc` attributes.
Waiting D-Programming-Language/druntime#887.