Fix warnings from static analysis tools(se_hal) am: 93b6583070 am: 4389761770 am: fe80b46673

Change-Id: I95cca0653b9eb8ee890596b2bcdd92ab0228768c