Restructured pk_parse_key_pkcs8_encrypted_der() to prevent unreachable code