Skip test earlier if metric is not found in compare.py

This speeds up processing for inputs with lots of missing metrics, by
avoiding adding them to names.

Reviewed By: paquette

Differential Revision: https://reviews.llvm.org/D64065

llvm-svn: 366999
1 file changed