Android.mk: Do not inherit if TARGET_QCOM_VARIANT is set to legacy