Model calculations of extreme-ultraviolet gain in rapidly expanding cylindrical carbon plasmas