Optimise dwc and stdio symbols by shrinking match pattern.