Fix extension cache getOpcode() error message

Fix the error message when major opcode does not exist for an extension
in the ExtensionCache getOpcode method.