Minor fixes related to the LeakyRelu Activation support commit (IVGCVSW-7344)

  * Using the tosa defines from the serialization library
    to avoid compile errors in other backends
  * Fixing a bug in the version compat macro

Signed-off-by: Tracy Narine <tracy.narine@arm.com>
Change-Id: Ie4ee80666c6f8033bb72e0e6cb8ca5ef41933990
diff --git a/src/backends/tosaCommon/operatorMappings/ActivationOperator.cpp b/src/backends/tosaCommon/operatorMappings/ActivationOperator.cpp
index 4009ae8..c3e424e 100644
--- a/src/backends/tosaCommon/operatorMappings/ActivationOperator.cpp
+++ b/src/backends/tosaCommon/operatorMappings/ActivationOperator.cpp
@@ -65,7 +65,7 @@
     DType outputDType0 = ArmNNToDType(outputs[0]->GetDataType());
     tensors.push_back(new TosaSerializationTensor(outputName, outputShape0, outputDType0, {}));
 
-#if TOSA_FWD_COMPAT_VERSION(0, 60, 0)
+#if TOSA_COMPAT_VERSION(0, 60, 0)
     std::string outputNameMAXMIN= std::string("intermediate3_") + GetUniqueTosaMappingID();
 
     if (inputDType0 == DType::DType_FP32)