Cross-validation for change-point regression: pitfalls and solutions