Merge pull request #8360 from Mbed-TLS/revert-8352-iar-fixes

Revert "Fix a few IAR warnings" which breaks the CI