Bring back TosaVersion struct

- check fails only when major/minor mismatches
- dump warning if major/minor matches but patch/draft mismatches

Signed-off-by: Kevin Cheng <kevin.cheng@arm.com>
Change-Id: I0464f1018faa69b81fa93d42e51e1afd7412977a
diff --git a/python/tosa_serializer.py b/python/tosa_serializer.py
index f0d7c63..d85494d 100644
--- a/python/tosa_serializer.py
+++ b/python/tosa_serializer.py
@@ -35,6 +35,7 @@
 
 import tosa
 
+# Keep version number in sync with the version default value with schema/tosa.fbs
 TOSA_VERSION_MAJOR = 0
 TOSA_VERSION_MINOR = 23
 TOSA_VERSION_PATCH = 0