Fix ENG-4448 ARRAY_ELEMENT debug-mode-only assert on negative index