kernel: Fix build errors with LLVM

This patch intends to fix some trivial errors reported
while building kernel with LLVM toolchain.

Change-Id: Icc15085abe52498c90ee5345beb65120fc2636ee
Signed-off-by: Shiraz Hashim <shashim@codeaurora.org>
4 files changed