hidl-gen: emit read/writeBool() for booleans

b/30853785 auto-generation for bools is broken

Change-Id: I00f59b0bd645d938d4367ee9205dc3bf625de7dd
Signed-off-by: Iliyan Malchev <malchev@google.com>
diff --git a/ScalarType.cpp b/ScalarType.cpp
index b87168e..6934df2 100644
--- a/ScalarType.cpp
+++ b/ScalarType.cpp
@@ -106,7 +106,7 @@
         bool needsCast) const {
     static const char *const kSuffix[] = {
         "Uint8",
-        "Uint8",
+        "Bool",
         "Pointer",
         "Int8",
         "Uint8",