[PATCH v3 1/2] tpm: Fix error handling in async work