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

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

Change-Id: I014cc218699dccabd7f1ecb6513e889c1cff1d94