tpm: clean up sloppy code in tpm2_pcr_read()

There was sloppy code for reading PCR in tpm2_pcr_read(). Instead
index and bit to be set can be easily calculated if pcr select
buffer is zeroed first.

Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>