Update serialization library submodule

* Update Flatbuffers version
* Allows consts to be saved as inputs

Signed-off-by: Jeremy Johnson <jeremy.johnson@arm.com>
Change-Id: Ibb9e38d381f8229bfca65b559e35c9ded889c384
diff --git a/thirdparty/serialization_lib b/thirdparty/serialization_lib
index 0bc46e4..e2b20e4 160000
--- a/thirdparty/serialization_lib
+++ b/thirdparty/serialization_lib
@@ -1 +1 @@
-Subproject commit 0bc46e44e6501788c4661d1f03572c14ea2ecc89
+Subproject commit e2b20e4eb9e91d9fd4a155880f3bf6085b8ffaac
diff --git a/verif/generator/tosa_test_gen.py b/verif/generator/tosa_test_gen.py
index bd371eb..b5e71ac 100644
--- a/verif/generator/tosa_test_gen.py
+++ b/verif/generator/tosa_test_gen.py
@@ -51,7 +51,11 @@
 
         fullPath = os.path.join(self.basePath, self.testPath)
         os.makedirs(fullPath, exist_ok=True)
-        self.ser = ts.TosaSerializer(fullPath, saveConstsToFile=self.args.dump_consts)
+        # Embed const data in the flatbuffer
+        constMode = ts.ConstMode.EMBED
+        if self.args.dump_consts:
+            constMode = ts.ConstMode.EMBED_DUMP
+        self.ser = ts.TosaSerializer(fullPath, constMode)
 
     def getSerializer(self):
         return self.ser