ObjFWTest: Don't use \r if terminal is present

This should work better for platforms that don't have an ANSI terminal.