Morocco midfielder Azzedine Ounahi will have surgery on a torn hamstring tendon and could miss about six months for Panathinaikos, Greek reports say.