Remove some malloc from JIT icall registration. (#14431)