Make DISABLED_OPCODES a constant

Also remove VALID_OPCODES as it's not used in the code itself, thus not
tested by anything; use DISABLED_OPCODES instead.

Thanks to Isaac Cook for pointing this out.