CTest: report time spent after matching output

When using the TIMEOUT_AFTER_MATCH test property, only report the
time spent by the test after the matching output was found.
Status Job ID Name Coverage
  External
passed kwrobot-branch-check