Conform to googletest API changes.

Matcher parameter types are now constant so that's got to be removed.

Change-Id: I9a13d31c5a044beadf0ba9f74e4a16be183bf661
diff --git a/libnos/generator/test/test.cpp b/libnos/generator/test/test.cpp
index 75dd7f7..4542c88 100644
--- a/libnos/generator/test/test.cpp
+++ b/libnos/generator/test/test.cpp
@@ -45,7 +45,7 @@
 // Check the message is the same rather than the encoded bytes as different
 // bytes could decode to the same message.
 MATCHER_P(DecodesToProtoMessage, msg, "Vector does not decode to correct message") {
-    decltype(msg) decoded;
+    typename std::remove_const<decltype(msg)>::type decoded;
     return decoded.ParseFromArray(arg.data(), arg.size())
            && MessageDifferencer::Equals(decoded, msg);
 }