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).

Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>

Conflicts:

	libc/netbsd/net/getaddrinfo.c
	libc/netbsd/net/getnameinfo.c

Change-Id: I4a6fd36a66b23d963ce137916caece4a424e78ab

Conflicts:
	libc/netbsd/resolv/res_send.c
Fix one last strict aliasing violation
Fix merge mistake
Forward port gcc-4.9.x fixes from AOSP master

https://android-review.googlesource.com/#/c/79747/

Credits to Bernhard Rosenkränzer linaro.org

Signed off-by: Paul Beeler <sparksco@gmail.com>