Fix surfaceflinger
frameworks/native: Fix toroplus radio with CFLAGS

This is a commit to fix the LTE radio on toroplus,
since the binaries contain a broken reference to
an old no longer existent object. This fixes that
with a CFLAGS to be enabled in the .mk files of the
toroplus device files (like BoardConfig.mk).

Credit for the original fix goes to
Sean McClenaghan (cyberkitsune09@gmail.com)
http://review.cyanogenmod.org/#/c/47134/

PS 2-3: forgot some stuff in the commit message

Change-Id: I2c0f05d1f70b96ad801971f23f6f9cf4e0fa7167
surfaceflinger: Fix legacy qcom display

This change: http://review.cyanogenmod.org/50222 disabled code
that is needed for legacy qcom using jb mr0 adreno blobs. Reenable
the needed code when qcom display variant is "legacy"

Signed-off-by: Michael Bestas <mikeioannina@gmail.com>

Change-Id: Ib36fb5388b941416e364db2109fdc7624a168563
Merge branch 'jbam10' into wip-jbam10