Photon-Splitting Cascades in Gamma-Ray Pulsars and the Spectrum of PSR 1509?58