kernel: Reduce strncpy in z_impl_k_thread_name_set by null char

No point to copy terminating NULL character to just overwrite it in
next line.

Signed-off-by: Dominik Ermel <dominik.ermel@nordicsemi.no>
1 file changed