Fix unused variable issues

Also adds -Wunused to bring gcc's -Werror inline with clang's to prevent
similar build errors later.

Bug:21583577
Change-Id: Ia051adbb3ea92a8ace914ad958a73348d70cca17
diff --git a/hkdf.cpp b/hkdf.cpp
index 5c69446..331f8e5 100644
--- a/hkdf.cpp
+++ b/hkdf.cpp
@@ -47,6 +47,8 @@
         result = prk_hmac.Init(zeros, sizeof(zeros));
     }
     assert(result);
+    // avoid the unused variable warning if asserts are disabled.
+    (void) result;
 
     // |prk| is a pseudorandom key (of kSHA256HashLength octets).
     uint8_t prk[kSHA256HashLength];