include non exported OpenSC functions
use OpenSC 0.14.0
card-npa: free SM data when shutting down the card

fixes memory leak