Generalizes the test output template for tool.drcacheoff.legacy to make thousands commas optional and decimals or commas for tenths separators, to de-flake the test.
Tested against the AArch64 output from http://dynamorio.org/CDash/testDetails.php?test=593481&build=43279
Fixes #3317 (closed)