fix aliasing-based undefined behavior in string functions
[musl] / src / thread / syscall_cp.c