Fix handling of DER sequences in DSA key serialization