Revert "frameworks/base: Fix aliasing violations"

This reverts commit a7017bce7dd60e823fd68176bd705c65bf357d9c.
Revert "Fix aliasing violations only and not c++11 mode:"

This reverts commit 2b7c0d8aa1c912d2b4a48df4b7ee8c2ff2cff72e.
Fix aliasing violations only and not c++11 mode:

picked code bits from this change:  https://github.com/SaberMod/android_frameworks_base/commit/4ea79c201e537e5490cc459c7438cf2f7f0c53b4
frameworks/base: Fix aliasing violations

Fix violations of strict aliasing rules

Change-Id: Ia83db6a0be18f52e8f274c581c3b42f031b39247
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
Revert "core/jni/android/graphics: Cache copy of pre-scaled Bitmaps"

This reverts commit 03a3f57fb7018bec85589cc35ddd0260cb5b02b4.