Enable QCOM_BSP_LEGACY flag for pre-8974 targets

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