[PATCH 3.16 095/366] tpm: fix race condition in tpm_common_write()