[typescript] Size-prefixed root accessors not taking into account size prefix (#5717)

* [typescript/javascript] Size-prefixed root accessor needs to account for the size prefix.

* [typescript] Add parentheses after "new" expression.

* Update generated test files
.gitlab-ci.yml not found in this commit
Status Job ID Name Coverage
  Build
failed #2301
build

 
  Test
skipped #2303
allowed to fail
code_quality
skipped #2307
allowed to fail
container_scanning
skipped #2306
allowed to fail
dependency_scanning
skipped #2304
allowed to fail
license_management
skipped #2305
allowed to fail
sast
skipped #2302
test
 
Name Stage Failure
failed
build Build There has been a timeout failure or the job got stuck. Check your timeout limits or try again
No job trace