Deal with CM changing vars (WITH_QC_PERF) for no reason, and still be able to
use future changes where they use TARGET_HAVE_QC_PERF without difficulty.

Change-Id: I46f8eb031f03e859561dae32401cebf328e05274