MISRAC Fixes rules 15.6 and 10.1
Created by: nicola-mazzucato-arm
This PR contains additional fixes for MISRAC required rules 15.6 and 10.1.
Rule 15.6: The body of an iteration‑statement or a selection‑statement shall be a compound‑statement Rule 10.1: Operands shall not be of an inappropriate essential type