Real Madrid defender Raphael Varane has been ruled out of Friday's Copa del Rey final through injury.