RTOS2: Updated __NO_RETURN definition in cmsis_os2.h
#if defined(__CC_ARM)
#define __NO_RETURN __declspec(noreturn)
#elif defined(__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050)
-#define __NO_RETURN __attribute__((noreturn))
+#define __NO_RETURN __attribute__((__noreturn__))
#elif defined(__GNUC__)
-#define __NO_RETURN __attribute__((noreturn))
+#define __NO_RETURN __attribute__((__noreturn__))
#elif defined(__ICCARM__)
#define __NO_RETURN __noreturn
#else
