Since !3127 (merged) we consider ARMCC before Clang or GNU compilers. Since armclang also defines __ARMCC_VERSION it is now mistaken for ARMCC. Extend the check for ARMCC to also verify that __clang__ is not defined.
Issue: #19065 (closed)
This will create a new commit in order to revert the existing changes.