tpm: Fix initialization of the cdev