swtpm: Cast '1' to uint64_t before shift and assign to uint64_t variable

To avoid an overflowing expression cast '1' to uint64_t before shifting
it and assigning it to a uint64_t variable. In practice this kind of
overflow would never happen because there aren't that many available
PCR banks.

Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
diff --git a/src/swtpm_setup/swtpm.c b/src/swtpm_setup/swtpm.c
index 1ccf27d..77871d7 100644
--- a/src/swtpm_setup/swtpm.c
+++ b/src/swtpm_setup/swtpm.c
@@ -588,7 +588,7 @@
                 break;
             }
         }
-        if (hashAlg != 0 && (activated_mask & (1 << j)) == 0) {
+        if (hashAlg != 0 && (activated_mask & ((uint64_t)1 << j)) == 0) {
             (*active)[count] = g_strdup(pcr_banks[idx]);
             len = concat(&pcrselects[pcrselects_len], sizeof(pcrselects) - pcrselects_len,
                          (unsigned char[]){AS2BE(hashAlg), 3, 0xff, 0xff, 0xff} , (size_t)6,