format-code: Use the provided clang format

Other projects use the provided from the unit-test environment building
the project. Lets do the same here but fall back to our expected version
6.0 if no CLANG_FORMAT variable is provided. This removes
clang-format-5.0 since it is not consistent with the rules enforce by
clang-format-6.0.

Tested:
    Ran through unit test suite.

Change-Id: If5a137d3981cf0896a426b98c78e1788ec029bf2
Signed-off-by: William A. Kennington III <wak@google.com>
diff --git a/format-code.sh b/format-code.sh
index bd5659c..b3ddcf6 100755
--- a/format-code.sh
+++ b/format-code.sh
@@ -6,14 +6,9 @@
 
 [ -f .clang-format ] && rm .clang-format
 
-for cf in clang-format-6.0 clang-format-5.0
-do
-    CLANG_FORMAT="$(which ${cf})"
-    if [ -n "${CLANG_FORMAT}" ]
-    then
-        break;
-    fi
-done
+# Use the provided clang-format, only define a version
+# if we don't have one provided already
+export CLANG_FORMAT="${CLANG_FORMAT:-clang-format-6.0}"
 
 # phosphor-mboxd is a fork of mboxbridge, the reference mbox daemon
 # implementation. mboxbridge is C written with the style of the Linux kernel.