Use wcslcpy() and wcslcat() if available on the target platform.
Use [wq]mem{cpy,move} for [wq]string operations.
Use wchar_t bulk copies for qchar bulk copies when the two are the same size.

The wchar_t bulk copies are faster than byte copies on some systems, and we
have to do a lot of bulk copies on qchars.