Revert "Fix finding handlers that registered opcode by value instead of enum"

This reverts commit 2be03d3c56a520bc3993545a2d8b163d21d3bbea.

Add obsolete attribute to ParserAttribute that take an int