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