Fixed compiler errors

* Some compilers fail to build due to the inconsistent use of the noexcept clause

Change-Id: I1f44abec84d8d0c8dd45662d1e309d006dcf9b64
Signed-off-by: Pablo Marquez Tello <pablo.tello@arm.com>
Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/5281
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Reviewed-by: Sang-Hoon Park <sang-hoon.park@arm.com>
Reviewed-by: Manuel Bottini <manuel.bottini@arm.com>
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
diff --git a/src/common/utils/Object.h b/src/common/utils/Object.h
index 6f56f77..1f19473 100644
--- a/src/common/utils/Object.h
+++ b/src/common/utils/Object.h
@@ -52,8 +52,9 @@
      * @param[in] type_ Object identification type
      * @param[in] ctx_  Context to reference
      */
-    Header(ObjectType type_, IContext *ctx_)
-        : type(type_), ctx(ctx_)
+    Header(ObjectType type_, IContext *ctx_) noexcept
+        : type(type_),
+          ctx(ctx_)
     {
     }