Cosmological perturbations and stability of nonsingular cosmologies with limiting curvature