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