Fix clang-tidy performance warnings in system/tpm. am: 9c6f6b2932
am: 7eb694b2d0

Change-Id: I7d7e1e2dff7056989baf264f097f3185e1d91741