libc: add mempcpy(3) and wmempcpy(3)(cherry picked from commit ee37f64cf875255338f917a9da76c643cf59786c)