Self-organized criticality in multi-pulse gamma-ray bursts