Cosmic Ray and Neutrino Emission from Gamma-Ray Bursts with a Nuclear Cascade