Use TARGET_QCOM_MEDIA_VARIANT flag

Needed after http://review.cyanogenmod.org/51031
Use the same logic as caf variant