Fix SSL_export_keying_material() for DTLS1_BAD_VER