(detect_coding_iso_2022): Fix handling of SS2 and SS3.