[chromium] extract normalization of LayoutTests URLs to a method of TestShell