frameworks/base: Fix various aliasing violations

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

Conflicts:
	core/jni/Android.mk
frameworks/base: Fix build in ISO C++11 mode

Change-Id: I5d3ba44cc9faa5826a5a0a6b37c8f0eb2872e1ac
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
frameworks/base: Fix compile errors

Fix ISO C++11 incompatibility in TextLayoutCache and
aliasing violation in FontRenderer

Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
Revert "Fix DataInputStream leaks"

This reverts commit 5f85ae81fbc30561227169f3ef723e2d2a3f3b8e.
Revert "Revert "Revert "Finish fixing Zygote descriptor leakage problem"""

This reverts commit 71f0a11fba2bf0a70fe4d51ce2fce45d3f02ae22.