Move sp_getspeshslot before prepargs in optimize_call

The optimizer sometimes inserts sp_getspeshslot node between
the args instructions and the invoke instruction, which is
annoying as it confuses the JIT, which likes to treat the
sequence between prepargs and invoke as a single node.