Changing the threshold of chaos by resonant parametric modulation