unittests: only build llvm testcase with the supported versions 7 and 8
llvm changes api on each major release.
CCBUG:419202