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 remote-tracking branch 'cm/cm-12.0' into cm-12.0
Merge remote-tracking branch 'own/cm-12.0' into cm-12.0