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 pull request #2 from CyanogenMod/cm-12.0

Fix QCOM_BSP_LEGACY