bionic: Fix aliasing violations

This makes bionic compile with compilers enforcing
strict adherence to aliasing rules (e.g. gcc 4.6+
with -Wstrict-aliasing=2 -Werror=strict-aliasing).

Change-Id: I26de147322ed6819ee9895115f17e44edea40cff
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>