[PATCH 5.17 35/39] tpm: fix reference counting for struct tpm_chip