builtin-apply.c: get rid of an unnecessary use of temporary array