Enable QCOM_BSP_LEGACY flag for pre-8974 targets

Change-Id: I895f1b1cbad0d260e1bca87ccb61e6194de023fd
Merge branch 'cm-12.0' of github.com:CyanogenMod/android_build into cm-12.0