Revert "lib/string & lib/memcpy: use GNU implementation."

This reverts commit 7124d06205eac86534485569665d5d0dd4e60576.
add wheatley gov