Fix build for Nexus 5 (hammerhead) and gcc-4.8+

Signed-off-by: Paul Beeler <sparksco@gmail.com>
Fix build with gcc 4.7 by removing common -Werror flag
Fix build for msm8960 devices with gcc 4.7 by removing common -Werror flag