t/runtests: Only use "\r" in output when STDOUT is a TTY

Some of the the build logs we receive are annoying to read due to
all of the "\r" mangling the output.  Therefore, disable "fancy"
output when STDOUT is not a TTY.

Signed-off-by: Niels Thykier <niels@thykier.net>