[BZ-1057000] fix jitting of a constraint containing an array creation
(cherry picked from commit fb7c8858f7310a6674c98c59765d685f9ce0504f)