fix -fno-strict-aliasing

Change-Id: Iaafeb959a1d228ff9cc75a34d278ad0191ff963e
strict-aliasing fix
Fix linaro strict aliasing errors
Fix build error with 4.8+ toolchains

Change-Id: I383fc880911b0aa1a48de18f97a2b85394636adb