Soft-x-ray spectra of krypton xxiv–xxvii in gas puff Z-pinch plasmas