core: fix type in fill-array instruction