security: Fix typo in PublicKey::fromDer: Need to check keyType KEY_TYPE_EC.