Use TARGET_QCOM_MEDIA_VARIANT flag

Needed after http://review.cyanogenmod.org/51031
Use the same logic as caf variant

Signed-off-by: Michael Bestas <mikeioannina@gmail.com>

Change-Id: I445350621307363dfebca9fb7e4b32c6c0a459b0