EUV spectra of Rb-like to Cu-like gadolinium ions in an electron-beam ion trap