Fix various aliasing violations

This allows the code to be built even with
-fstrict-aliasing -Werror=strict-aliasing -Wstrict-aliasing=2

Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
Cc: patches@linaro.org
8 files changed