lib: memcopy: use glibc version