Polycyclic aromatic hydrocarbon processing by cosmic rays