Tasking: Detect ARM architecture for C++

The preprocessor switch to detect architectures on Tasking
differ for C and C++.

Issue: #26426
1 file changed