libmedia: Add flag for non-native FAST tracks.

Change-Id: Ied9004c0bdc6314541b12095ca1defd0f291eb1a
Fix various C++11 issues and strict aliasing violations.
Loudness and Visualizer effects: Don't force -O2 if -Os or -O3 is provided.
libcameraservice: Fix build when not using C++11.