build: Fix some warnings with GCC 4.10 with namespace error - Credit to engstk
Fix kernel compilation with Linaro 4.10 - Credit to JustArchi