Core/Misc: Use opcode definitions instead of magic values for known opcodes in IsInstanceOnlyOpcode