Fix compilation error when building with C++17 am: 3d3364efdc

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

Change-Id: Ie2bc08b8a2afd1129b6cd479f5aebef2bc383d94