Add full-aot support for 4 dimensional arrays. Fixes #10275.