Nottingham Forest are in advanced talks over a deal worth up to £25m to sign Crystal Palace defender Daniel Munoz.