libpromises/evalfunction.c: fix parse{string,real,int}array and parsestringarrayidx args