Support inline caching of RegExpMatchesArray.length