Cleanup _encode_asn1_str_gc: don't require the length as an argument (#4484)

* Cleanup _encode_asn1_str_gc: don't require the length as an argument

* Apply the same cleanup to _encode_asn1_str
2 files changed