Cosmological perturbations across a curvature bounce