[CCID]: Check if ccid is NULL in the hc_[tr]x_exit functions