[cmake] When cmake supports it, use USES_TERMINAL on the check target.
[cmake] When cmake supports it, use USES_TERMINAL on the check target.

This should partially fix the timeouts seen on the mipsel-32r2-cmake
builder.

Oblomov/pocl,dsandersimgtec/pocl,jrprice/pocl,franz/pocl,jrprice/pocl,Oblomov/pocl,franz/pocl,vkorhonen/pocl,dsandersimgtec/pocl,rjodin/pocl,pavanky/pocl,pavanky/pocl,pavanky/pocl,Oblomov/pocl,pocl/pocl,jrprice/pocl,rjodin/pocl,vkorhonen/pocl,pavanky/pocl,Oblomov/pocl,dsandersimgtec/pocl,rjodin/pocl,jrprice/pocl,franz/pocl,rjodin/pocl,pocl/pocl,vkorhonen/pocl,pocl/pocl,franz/pocl,Oblomov/pocl,vkorhonen/pocl,pocl/pocl,franz/pocl,dsandersimgtec/pocl,pocl/pocl