compare_dg_tests.pl: Fix pattern matching not to be greedy.

This allows for ':' to be present in the test "name".
This is the reason why
arm-sim:gcc.dg/tree-prof/time-profiler-2.c scan-ipa-dump-times profile "Read tp_first_run: 0" 2
did not work.

Change-Id: I8160ad3ec6adfe038d22622923cd5dc6962d6860
diff --git a/compare_dg_tests.pl b/compare_dg_tests.pl
index 6eb4fd1..715619a 100755
--- a/compare_dg_tests.pl
+++ b/compare_dg_tests.pl
@@ -208,14 +208,14 @@
 	   my $test = $_;
 
 	   # Check if line is of type: target:testname
-	   if (/^(.*):/)
+	   if (/^(.*?):/)
 	   {
 	       foreach my $unstable_marker (@unstable_markers)
 	       {
 		   if ($unstable_marker eq $1) {
 		       # If target matches the one supplied as script
 		       # argument, add the testname to the list
-		       $test =~ s/.*://;
+		       $test =~ s/.*?://;
 		       push @unstable_tests, $test;
 		   }
 	       }