libcacard: don't free sign buffer while sign op is pending