Added generation of HALT instructions instead of RET_NONE instructions
in visitSpawn.

Signed-off-by: Jakob Brandsborg Ehmsen <jakobehmsen.github@gmail.com>