critical: fix non valid configuration
critical: fix non valid configuration

If any architecture is added, needs  to update critical exclusive access.

Also fixing if exclusive access is defined, we use the value.

mazimkhan/mbed-os,mazimkhan/mbed-os,c1728p9/mbed-os,mbedmicro/mbed,karsev/mbed-os,betzw/mbed-os,andcor02/mbed-os,mazimkhan/mbed-os,betzw/mbed-os,c1728p9/mbed-os,karsev/mbed-os,c1728p9/mbed-os,mbedmicro/mbed,kjbracey-arm/mbed,mbedmicro/mbed,betzw/mbed-os,karsev/mbed-os,karsev/mbed-os,betzw/mbed-os,betzw/mbed-os,c1728p9/mbed-os,c1728p9/mbed-os,andcor02/mbed-os,mbedmicro/mbed,mazimkhan/mbed-os,betzw/mbed-os,karsev/mbed-os,mazimkhan/mbed-os,mazimkhan/mbed-os,mbedmicro/mbed,karsev/mbed-os,andcor02/mbed-os,andcor02/mbed-os,kjbracey-arm/mbed,kjbracey-arm/mbed,kjbracey-arm/mbed,andcor02/mbed-os,c1728p9/mbed-os,andcor02/mbed-os