Mark std.string.toStringz as @trusted

`toStringz(const(char)[])` uses system functions `core.stdc.string.strlen`, `core.stdc.string.memcmp` and  `std.exception.assumeUnique`.
`toStringz(string)` uses a pointer arithmetic.
But in both cases, we can verify that they can be trusted.

I also mark a unittest for them as `pure nothrow`.