Fix aliasing violations

... and build with GCC 4.8 with strict C++ 11

Change-Id: I9bb56c676e983f039617c754550a730fd37c40bf
Silly 4.6 based kernels

TARGET_KERNEL_CUSTOM_TOOLCHAIN = win

Change-Id: Ic18e56e10e4686527d763fd1bb366b6893ffacad