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

Change-Id: I4ea107986cf1ac714538ce7ce9b5b658f5e0cbf0