build: Fix QCOM_BSP_LEGACY cflags

Change-Id: I880f32892d9e082e3ba92878414f3cb3c6f08066
Merge remote-tracking branch 'cyanogen/cm-12.0' into cm-12.0