Missed assertions in builtin array functions.

Less assertions with TRE_NO_ASSERTIONS.