Fix ASN1_TIME_to_generalizedtime to take a const ASN1_TIME