build: Apply fixes to accommodate build system updates

 - Fixes clang-format changes for version 6 -> 8
 - Fixes possible strncpy trunction error
 - Fix for an optional std::variant behavior changed in gcc9

Change-Id: I80fe43b261e9b17ba662f17ea2854bd1fb6f1d61
Signed-off-by: William A. Kennington III <wak@google.com>
3 files changed