Photon energy dependence of photo-induced inverse spin-Hall effect in Pt/GaAs and Pt/Ge