frameworks/base: Fix aliasing violations 3/3