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