Robust generalized cross-validation for choosing the regularization parameter