Fix various C++11 issues and strict aliasing violations.

Conflicts:
	media/libeffects/downmix/EffectDownmix.c
	media/libeffects/visualizer/EffectVisualizer.cpp