EC key storing: use the correct parameters

When trying to import EC keys onto a card with pkcs15-init, the
params.ec of sc_pkcs15init_prkeyargs or pubkeyargs had not been
initialized. In this case, use (or point to) the parameters of the
actual key contained in the same struct.