lib/string & lib/memcpy: use GNU implementation(5)