Effect of first-stage ignition on the onset of knocking in SI engines