Fix QCOM_BSP_LEGACY

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

Change-Id: I315c760488445629fda860ba70066417c7d68b8b