Revert "frameworks/base: Fix aliasing violations"

This reverts commit 56dcb5b3bed2142c56a60ddde84521d93e4fb5e7.