[PATCH 5.4 262/340] tpm_tis: Fix check_locality for correct locality acquisition