Fix QCOM_BSP_LEGACY

Checks in the Android.mk files do not enable the cflags for .h
files, causing a build that crashes constantly.

Change-Id: I315c760488445629fda860ba70066417c7d68b8b
Merge branch 'cm-12.0' of github.com:CyanogenMod/android_build into cm-12.0