build: Fix QCOM_BSP_LEGACY cflags

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