EffectVisualizer: Fix aliasing violations

Change-Id: I202583126bd0ed0b370f952380e0b7b841b7e4f0
Signed-off-by: zwliew <zhaoweiliew@gmail.com>