Make X509_set_sm2_id consistent with other setters