Bug 877021 - Speed up CreateRegExpMatchResult(). r=h4writer