surfaceflinger: Work around aliasing violations

Change-Id: Ice0ee1019c1ac35eb8119140870b1bee25ac4026
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
Signed-off-by: Chet Kener <Cl3Kener@gmail.com>