Move sys_readlink() to libreplace.