Enable clang-tidy (and fix warnings) am: 9a3792e777

Original change: https://android-review.googlesource.com/c/platform/system/keymaster/+/1674707

Change-Id: Ic33e081af33bf3a71c1003a3a91338bc9117b2bb