Some basic cleanup in VM assembly optimization templates.

  Need a further reimplementation for every Lua VM opcode.