The Effect of Cosmic-Ray Diffusion on the Parker Instability