[runtime] Add support for jagged array ctors which create an array of arrays. Fixes #17944.