soc/braswell: Fix issues found during static code analysis