lua: remove an unnecessary check and replace switch (GET_OPCODE(i)) as well (thx...