The mass dependence of the nuclear photoeffect at energies above the giant dipole resonance