IVGCVSW-5077 Ensure ArmNN builds successfully with latest protobuf


* Use the single parameter version of SetTotalBytesLimit()
* Update CMakeLists to turn off deprecated declarartions

Signed-off-by: Nikhil Raj <nikhil.raj@arm.com>
Change-Id: I2d360966743986872cfef40c2ab1a3505fc5d99a
diff --git a/src/armnnTfParser/TfParser.cpp b/src/armnnTfParser/TfParser.cpp
index 255233b..aec8df8 100755
--- a/src/armnnTfParser/TfParser.cpp
+++ b/src/armnnTfParser/TfParser.cpp
@@ -3564,7 +3564,7 @@
 
     google::protobuf::io::FileInputStream  inStream(fileno(fd));
     google::protobuf::io::CodedInputStream codedStream(&inStream);
-    codedStream.SetTotalBytesLimit(INT_MAX, INT_MAX);
+    codedStream.SetTotalBytesLimit(INT_MAX);
     bool success = graphDef.ParseFromCodedStream(&codedStream);
     fclose(fd);